-
Notifications
You must be signed in to change notification settings - Fork 3.6k
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
All Prometheus histogram buckets are malformed #13869
Comments
The issue had no activity for 30 days, mark with Stale label. |
Bump. |
It's the doc's issue |
No, this is broken |
The issue had no activity for 30 days, mark with Stale label. |
bump |
The issue had no activity for 30 days, mark with Stale label. |
The issue had no activity for 30 days, mark with Stale label. |
Hi @ofek, you are absolutely correct. This document is part of a large effort to refactor how the metrics are defined, used, and exported in Pulsar. @codelipenghui @merlimat - we potentially don't have to wait for the full refactor, but provide a fix just for exporting histograms - it's not a small fix, but it's not a complicated fix. the biggest issue is once we do that of course, we break compatibility, so this must be done gradually with flags ( |
@ofek I forgot to explain there is another issue you haven't mentioned: histogram bucket values today are delta-resets, meaning most of them are reset every configurable interval (30sec/1min). Prometheus quantile function assumes the values are incremental counters. This is another thing that needs to be fixed. |
This will be solved as part of PIP-264 implementation. Parent issue for tracking it is here |
Describe the bug
As documented in the official spec and mentioned in Pulsar's docs, histogram buckets are suffixed by
_bucket
with an upper boundle
label.Instead, the label and value is embedded in the metric name as a suffix:
To Reproduce
Steps to reproduce the behavior:
Desktop (please complete the following information):
The text was updated successfully, but these errors were encountered: