Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Reduce granularity of histogram buckets for Go 1.17 collector #974

Merged
merged 1 commit into from Jan 28, 2022

Commits on Jan 28, 2022

  1. Reduce granularity of histogram buckets for Go 1.17 collector

    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>
    mknyszek committed Jan 28, 2022
    Copy the full SHA
    278b704 View commit details
    Browse the repository at this point in the history