Pcornel
Observability · SLI, SLO & Error Budgets

Burn-Rate Alerts

Cheat sheet · https://pcornel.dk/topic.php?topic=6226

Back to the Topic

Answer

Burn-rate alerts fire when the error budget is being consumed faster than allowed, using multiple windows (e.g. 14.4× over 1h and 5m for paging, 6× over 6h and 30m) to be fast and precise.

Remember

Burn rate 1 means budget lasts exactly the SLO window. Combine a long and a short window to reduce false alarms and speed reset.

First checks

  • job:slo_errors_per_request:ratio_rate1h — first check for this topic
  • curl -s localhost:9090/-/ready — Prometheus ready
  • curl -s 'localhost:9090/api/v1/query?query=up' — scrape targets up/down
  • promtool check config prometheus.yml — config valid

Verify in this order

errors → ratio per window → burn rate → multi-window alert

Where it usually breaks

A single short window pages on brief spikes.

Read-only verification commands unless stated otherwise. Confirm syntax for your platform and release. Full reference: https://pcornel.dk/topic.php?topic=6226

Confirmation

Confirm action

Continue?