SLOs and Error Budgets in Production: SLIs That Measure What Hurts, Multi-Window Burn Rate, and Alerts Nobody Silences
A practical guide to alerting on consequences instead of causes: how to pick SLIs that break when users suffer and why the measurement point (application, load balancer or RUM) changes the answer, histogram buckets aligned with the SLO threshold, the PromQL mistake that invalidates half the latency SLOs out there — histogram_quantile versus the fraction of events under the threshold — and native histograms, stable since Prometheus 3.8, with histogram_fraction, per-window recording rules with the 'or ... * 0' that tells zero errors apart from no data, burn rate derived from the formula with Google's table (14.4 / 6 / 3 / 1) and why two windows are required, copy-ready multi-window multi-burn-rate alerts, automatic generation with Sloth and OpenSLO verified in CI with a diff, a Python script that blocks the deploy when less than 25% of the budget remains, and the error budget policy that turns an SLO into decisions rather than decoration. With eight recurring mistakes, a production checklist, FAQ and glossary. Production-ready code in Python, PromQL and YAML.
Verificando acceso...