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

Prometheus Histogram buckets standardization #8739

Open
tbenr opened this issue Oct 17, 2024 · 1 comment
Open

Prometheus Histogram buckets standardization #8739

tbenr opened this issue Oct 17, 2024 · 1 comment

Comments

@tbenr
Copy link
Contributor

tbenr commented Oct 17, 2024

https://prometheus.io/docs/tutorials/understanding_metric_types/#histogram

the standard appears to be something like:

Bucket Count
0 - 0.3 1
0 - 0.5 2
0 - 0.7 2
0 - 1 2
0 - 1.2 2
0 - +Inf 2

but our implementation (MetricsCountersByIntervals) follows a different approach:

Bucket Count
[0,0.3) 1
[0.3,0.5) 1
[0.5,0.7) 0
[0.7,1) 0
[1,1.2) 0
[1.2,∞) 0
@zilm13
Copy link
Contributor

zilm13 commented Oct 17, 2024

MetricsCountersByIntervals which should be used as a start

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants
@zilm13 @tbenr and others