Traditional threshold alerts—like "page on-call if HTTP 5xx exceeds 1% for 5 minutes"—create two opposite problems in production: alert fatigue during brief traffic blips, and missed slow-burn outages that quietly ruin your monthly reliability target.
The Google SRE Workbook solved this with Multi-Window, Multi-Burn-Rate Alerting. Instead of guessing arbitrary percentages, you alert on how fast your service is consuming its Error Budget.
What Are Error Budgets and Burn Rate?
If your service has a 99.9% SLO over a 30-day rolling window, your allowed failure budget is 0.1% (0.001), which equals 43.2 minutes of complete downtime—or 0.1% failed requests across the month.
Burn Rate measures how fast you are spending that budget relative to the window:
Burn Rate = 1x: You are consuming error budget at the exact pace that hits 100% exhaustion at day 30 (e.g.,
0.1%error rate for a 99.9% SLO).Burn Rate = 14.4x: You are burning budget 14.4 times faster than sustainable—exhausting the entire 30-day budget in roughly 50 hours (2.1 days), or
2%in just 1 hour.
Multi-Window Burn Rate Alert Tiers
Pairing a long window (for precision) with a short window (1/12 of the long window, for fast reset once mitigated) ensures alerts fire quickly during real incidents and resolve cleanly after a rollback.
Interactive Tool: Quick SLO Error Budget & Burn Rate Estimator
Interactive Tool: Try the live interactive calculator directly in the original OpsHubs guide.
Ready-to-Use Prometheus Multi-Window Burn Rate Rule
First, record your 5-minute, 30-minute, 1-hour, and 6-hour error ratios (e.g., slo:http_errors:ratio_rate1h), then wire up the page alert in PrometheusRule:
groups:
- name: slo-burn-rate-alerts
rules:
- alert: ApiErrorBudgetBurnCritical
expr: |
(
slo:http_errors:ratio_rate1h{service="checkout-api"} > (14.4 * 0.001)
and
slo:http_errors:ratio_rate5m{service="checkout-api"} > (14.4 * 0.001)
)
or
(
slo:http_errors:ratio_rate6h{service="checkout-api"} > (6 * 0.001)
and
slo:http_errors:ratio_rate30m{service="checkout-api"} > (6 * 0.001)
)
labels:
severity: critical
annotations:
summary: "High SLO error budget burn rate on {{ $labels.service }}"
Quick Production Checklist
Define separate burn rate thresholds for page (2%/5% budget) vs ticket (10% budget).
Always require both long and short windows to be above threshold so resolved incidents clear within 5 minutes.
Generate custom recording and alerting rules using our SLO Error Budget & Burn Rate Calculator and SLA Uptime Calculator.
Pair SLO alerting with reliable TSDB sizing: Prometheus Storage Sizing in Kubernetes.
Originally published at OpsHubs. Found it useful? Buy us a coffee ☕.

Top comments (0)