Repository navigation
[DO NOT MERGE] Interactive demo for PromQL histogram compatibility layer (promql-nhcb-as-classic) - #18339
Closed
bwplotka wants to merge 11 commits into
Closed
[DO NOT MERGE] Interactive demo for PromQL histogram compatibility layer (promql-nhcb-as-classic)#18339bwplotka wants to merge 11 commits into
promql-nhcb-as-classic)#18339bwplotka wants to merge 11 commits into
Conversation
this allows to query nhcb with _buckets, _sum or _count suffix and get classic histograms Signed-off-by: Raphael Bizos <[email protected]>
Signed-off-by: Raphael Bizos <[email protected]>
Signed-off-by: r.bizos <[email protected]> Signed-off-by: Raphael Bizos <[email protected]>
This allows to preserve ordering and thus having sorted output Signed-off-by: Raphael Bizos <[email protected]>
Signed-off-by: Raphael Bizos <[email protected]>
fixing lint as well Signed-off-by: Raphael Bizos <[email protected]>
Signed-off-by: Raphael Bizos <[email protected]>
Signed-off-by: bwplotka <[email protected]>
Signed-off-by: bwplotka <[email protected]>
promql-nhcb-as-classic)promql-nhcb-as-classic)
bwplotka
force-pushed
the
demo-histcompat
branch
from
March 23, 2026 09:13
c50b1c2 to
d7d04b0
Compare
Signed-off-by: bwplotka <[email protected]>
bwplotka
force-pushed
the
demo-histcompat
branch
from
March 23, 2026 10:01
d7d04b0 to
2ac7362
Compare
bwplotka
added a commit
to bwplotka/prometheus
that referenced
this pull request
Sep 26, 2026
Runs Prometheus with --enable-feature=promql-nh-classic-compat on localhost:1234, scraping itself with 4 jobs, each storing its prometheus_http_request_duration_seconds histogram differently: - job="classic": classic histogram only. - job="nhcb": NHCB only. - job="native": exponential native histogram only. - job="classic-and-native": both classic and exponential native histogram. It opens browser tabs comparing classic and native histogram queries. Similar to the demo in prometheus#18339. Not meant to be merged. Signed-off-by: Bartek Plotka <[email protected]>
bwplotka
added a commit
to bwplotka/prometheus
that referenced
this pull request
Sep 27, 2026
…conversion Runs Prometheus with --enable-feature=promql-histogram-conversion and --query.convert-histograms-from=nhcb,nhe,classic on localhost:1234, scraping itself with 4 jobs, each storing its prometheus_http_request_duration_seconds histogram differently: - job="classic": classic histogram only. - job="nhcb": NHCB only. - job="native": exponential native histogram only. - job="classic-and-native": both classic and exponential native histogram. It opens browser tabs comparing classic and native histogram queries: what is stored (conversion off, with __debug_stored_as__="true"), rates and quantiles with the conversion on, and the buckets, including the le="0.1" quirk of exponential histograms. Similar to the demo in prometheus#18339. Not meant to be merged. Signed-off-by: Bartek Plotka <[email protected]>
bwplotka
added a commit
to bwplotka/prometheus
that referenced
this pull request
Sep 27, 2026
…conversion Runs Prometheus with --enable-feature=promql-histogram-conversion and --query.convert-histograms-from=nhcb,nhe,classic on localhost:1234, scraping itself with 4 jobs, each storing its prometheus_http_request_duration_seconds histogram differently: - job="classic": classic histogram only. - job="nhcb": NHCB only. - job="native": exponential native histogram only. - job="classic-and-native": both classic and exponential native histogram. It opens browser tabs comparing classic and native histogram queries: what is stored (conversion off, with __debug_stored_as__="true"), rates and quantiles with the conversion on, and the buckets, including the le="0.1" quirk of exponential histograms. Similar to the demo in prometheus#18339. Not meant to be merged. Signed-off-by: Bartek Plotka <[email protected]>
bwplotka
added a commit
to bwplotka/prometheus
that referenced
this pull request
Oct 1, 2026
…conversion Runs Prometheus with --enable-feature=promql-histogram-conversion and --query.convert-histograms-from=nhcb,nhe,classic on localhost:1234, scraping itself with 4 jobs, each storing its prometheus_http_request_duration_seconds histogram differently: - job="classic": classic histogram only. - job="nhcb": NHCB only. - job="native": exponential native histogram only. - job="classic-and-native": both classic and exponential native histogram. It opens browser tabs comparing classic and native histogram queries: what is stored (conversion off, with __debug_stored_as__="true"), rates and quantiles with the conversion on, and the buckets, including the le="0.1" quirk of exponential histograms. Similar to the demo in prometheus#18339. Not meant to be merged. Signed-off-by: Bartek Plotka <[email protected]>
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.
Demo of #18048 for Prometheus booth and https://sched.co/2EF4F
Depends on #18048
Without flag
With flag
Does this PR introduce a user-facing change?