Interview Prep/Monitoring & Observability/Prometheus and PromQL at Scale

Your team wants to move to native histograms. What changes and what are the risks?

AdvancedScenarioPrometheus and PromQL at Scale
Answer

Situation read → Native histograms store a full distribution in a single series with exponential buckets. They reduce cardinality and give better resolution, but are a different data model.

What I'd do →

  1. Check client library support and enable it in the app (e.g. client_golang with native histogram options).
  2. Enable ingestion on Prometheus (--enable-feature=native-histograms, version-dependent) and scrape using protobuf, or use the OpenTelemetry exponential histogram path.
  3. Run dual exposure (classic plus native) during migration, then switch queries to histogram_quantile(0.99, sum(rate(x[5m]))) without le.
  4. Check that remote storage (Mimir, Thanos, Grafana Cloud) supports them.
  5. Update recording rules, alerts, and dashboards.

Why → Gradual migration avoids blind spots in alerts that depend on _bucket series.

Interview tip → Mention the win: fewer series, no manual bucket tuning.

All Monitoring & Observability questions Roadmap: Monitoring & alerting

More on Prometheus and PromQL at Scale