PromQL histogram compatibility demo

Each Prometheus below scrapes its own metrics every 5s, twice: job self stores prometheus_http_request_duration_seconds as a classic histogram and job self-nh stores the same histogram as a native histogram with custom buckets (NHCB). The instances only differ in their feature flags. Each link opens a classic histogram query next to its native histogram equivalent.

normal

No feature flags.

nhcb-as-classic

--enable-feature=promql-nhcb-as-classic

dual

--enable-feature=promql-nhcb-as-classic,promql-classic-as-nhcb