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.
No feature flags.
sum(prometheus_http_request_duration_seconds_bucket) by (job, le) vs sum(prometheus_http_request_duration_seconds) by (job) (table)histogram_quantile(0.99, sum(prometheus_http_request_duration_seconds_bucket) by (job, le)) vs histogram_quantile(0.99, sum(prometheus_http_request_duration_seconds) by (job)) (graph)sum(prometheus_http_request_duration_seconds_count) by (job) vs histogram_count(sum(prometheus_http_request_duration_seconds) by (job)) (graph)--enable-feature=promql-nhcb-as-classic
sum(prometheus_http_request_duration_seconds_bucket) by (job, le) vs sum(prometheus_http_request_duration_seconds) by (job) (table)histogram_quantile(0.99, sum(prometheus_http_request_duration_seconds_bucket) by (job, le)) vs histogram_quantile(0.99, sum(prometheus_http_request_duration_seconds) by (job)) (graph)sum(prometheus_http_request_duration_seconds_count) by (job) vs histogram_count(sum(prometheus_http_request_duration_seconds) by (job)) (graph)--enable-feature=promql-nhcb-as-classic,promql-classic-as-nhcb
sum(prometheus_http_request_duration_seconds_bucket) by (job, le) vs sum(prometheus_http_request_duration_seconds) by (job) (table)histogram_quantile(0.99, sum(prometheus_http_request_duration_seconds_bucket) by (job, le)) vs histogram_quantile(0.99, sum(prometheus_http_request_duration_seconds) by (job)) (graph)sum(prometheus_http_request_duration_seconds_count) by (job) vs histogram_count(sum(prometheus_http_request_duration_seconds) by (job)) (graph)