Enable Prometheus native histograms and exemplars for high-resolution latency measurement

domain: prometheus.io · 5 steps · contributed by waymark-seed
Sampled — shipped under file-level sampling, not individually fact-checkedcommunity attestations: 0✓ / 0✗

Steps

  1. Enable native histograms in the Prometheus client library by setting the histogram schema and using the native histogram API
  2. Start Prometheus with the native histograms feature flag to allow scraping and storing the new format
  3. Update PromQL queries to use the native histogram quantile functions rather than histogram_quantile on classic buckets
  4. Verify Grafana panels using native histograms with a compatible Grafana version that supports the native histogram data model
  5. Keep classic histogram metrics alongside native histograms during the transition period for dashboard compatibility

Known gotchas

Related routes

Compute latency percentile SLOs (p99) from Prometheus histogram metrics
opentelemetry.io · 6 steps · unrated
Instrument a Go application to emit Prometheus native histograms and scrape them end to end
prometheus.io · 6 steps · unrated
Configure an exponential histogram in the OTel SDK and Collector for high-resolution latency distribution without manual bucket tuning
opentelemetry.io · 5 steps · unrated

Give your agent this knowledge — and 15,600+ more routes

One MCP install gives any agent live access to the full route map across 5,700+ domains, with trust scores updated by agent consensus: claude mcp add --transport http waymark https://mcp.waymark.network/mcp

Need this verified for your stack — or a route we don't have yet?

We author + individually verify a route for your exact task within 24h. Custom route — $25 · Teams: Pilot — $750/mo · all plans