Repository navigation
Conversation
Signed-off-by: r.bizos <[email protected]>
Signed-off-by: Raphael Bizos <[email protected]>
rbizos
force-pushed
the
feature/native_histograms_compat_layer_metrics
branch
from
November 2, 2026 18:52
75b4310 to
69271b5
Compare
rbizos
marked this pull request as ready for review
November 3, 2026 08:34
rbizos
requested review from
a team,
roidelapluie and
vpranckaitis
as code owners
November 3, 2026 08:34
Contributor
Author
|
@bwplotka This one should be relatively simple :) |
bwplotka
approved these changes
Nov 5, 2026
bwplotka
left a comment
Member
There was a problem hiding this comment.
neat! One non blocking question, otherwise LGTM!
Signed-off-by: Raphael Bizos <[email protected]>
Contributor
Author
|
It should be good now :) |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Add
prometheus_engine_query_classic_histogram_series_totalto count classic-format histogram series returned by selectors, labeled by their source (classicornhcb).The counter increments once per returned series, not once per sample or observation. It also counts matching _count and _sum series. If in the future we introduce NH with exponential buckets we can add a label value
from=nhExample
For example, suppose a selector returns one classic histogram with two matching bucket series, and converts one NHCB histogram with two finite bounds into three bucket series (including
+Inf). After iterating the results, the metric could look like: