Repository navigation
Conversation
…icQuerier Group stored classic and converted NHCB series by histogram identity (labels excluding __name__ and le) when both representations exist, while keeping pure NHCB SeriesSets streaming lazily one NHCB series at a time: - Stored classic samples take precedence at matching timestamps, shadowing converted NHCB buckets across the group even when bucket layouts or le formatting differ. - Disjoint time ranges across a migration cutover merge into a single continuous series, with staleness markers handled per representation. - NHCB staleness markers, dropped custom buckets, and classic takeover timestamps emit StaleNaN on active converted series. - Series are sorted by labels.Compare (per group when sortSeries=false, globally when sortSeries=true). Signed-off-by: Bartek Plotka <bwplotka@google.com>
…ebug label Add per-selector control over NHCB-to-classic conversion via the reserved __nhcb_as_classic__ matcher and optional __from_nhcb__ provenance output label: - __nhcb_as_classic__="true" (or !="false") enables conversion for the selector. - __nhcb_as_classic__="false" (or !="true", ="") disables conversion and returns stored classic series only. - __nhcb_as_classic__="debug" (or =~"true|debug") enables conversion and attaches __from_nhcb__="true" to series converted from NHCB and __from_nhcb__="false" to stored classic series. Signed-off-by: Bartek Plotka <bwplotka@google.com>
…rsion Runs Prometheus with --enable-feature=promql-nhcb-as-classic on localhost:1234, scraping itself with 5 jobs (classic, nhcb, classic-and-nhcb, native, classic-and-native) and opening browser tabs comparing classic and native histogram queries with __nhcb_as_classic__ and __from_nhcb__. Signed-off-by: Bartek Plotka <bwplotka@google.com>
…t demo deploy.sh builds Prometheus from GIT_REF with the prebuilt web UI and runs it with --enable-feature=promql-nhcb-as-classic and demo_histcompat.yaml on a single small GCE VM (prom-nhcb-compat-demo), behind Caddy with automatic Let's Encrypt TLS for <ip>.sslip.io (or DOMAIN). Signed-off-by: Bartek Plotka <bwplotka@google.com>
bwplotka
force-pushed
the
bwplotka/pr-18048-label-control
branch
2 times, most recently
from
October 4, 2026 12:13
faab6dc to
6e63d0f
Compare
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 prometheus#19883
https://34-12-34-29.sslip.io/