Why shouldn't you build an SLO on `histogram_quantile(0.99, ...)`?

AdvancedConceptSLIs, SLOs & SLAs
Answer

Several reasons:

  • A quantile is interpolated within a bucket, so it is an estimate whose accuracy depends on bucket layout.
  • Quantiles cannot be aggregated across instances or over time; averaging p99s is mathematically meaningless.
  • "p99 under 300 ms" checked per minute is a time-based SLI that ignores how many requests were slow.
  • It does not translate into an error budget.

The bucket ratio le="0.3" / count is exact at the boundary, aggregates correctly with sum, and gives a good/total ratio that feeds burn-rate alerts. Keep p99 panels for diagnosis.

All SRE & Reliability questions Roadmap: SRE & incident response

More on SLIs, SLOs & SLAs