77626d64fa
The Go runtime/metrics package currently exports extremely granular histograms. Exponentially bucket any histogram with unit "seconds" or "bytes" instead to dramatically reduce the number of buckets, and thus the number of metrics. This change also adds a test to check for expected cardinality to prevent cardinality surprises in the future. Signed-off-by: Michael Anthony Knyszek <mknyszek@google.com> |
||
---|---|---|
.. | ||
go_runtime_metrics.go | ||
go_runtime_metrics_test.go | ||
metric.go |