Pcornel
Browse topics
Options
Recent
Favorites
Observability · Technical reference

Burn-Rate Alerts

Direct 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.

When to use this

Use it to alert on SLOs instead of raw error thresholds.

First 30 seconds

1. Error ratio recording rules per window, e.g. job:slo_errors_per_request:ratio_rate1h.

2. Page: ratio_1h > 14.4 × (1−SLO) and ratio_5m > 14.4 × (1−SLO).

3. Ticket: 6× over 6h/30m.

4. Test with synthetic errors.

5. Review against incidents.

Operational verification

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

Context & applicabilityCommon mistakes · platform/version boundaries
Platform / version applicability
OpenTelemetry / Prometheus / Grafana / common metrics-log-trace pipelines
applies
Structured applicability is explicit Topic metadata; it does not infer compatibility beyond the stored rows.
At a glance

Operational reference

Fast context before you go deeper.

PlatformOpenTelemetry / Prometheus / Grafana / common metrics-log-trace pipelines
Scope / prerequisiteUse it to alert on SLOs instead of raw error thresholds.
What next?2 suggested next steps
Evidence0
On this pageJump to a specific section
Operational workflow

Verification & Troubleshooting

Start with the observed symptom, prove the nearest boundary, and move outward only when the current state is understood.

2 steps Observe → verify → isolate → change minimally → repeat the original test.
ObservedRecord what the original test actually shows

Capture the concrete output, symptom, packet, log or counter before changing anything.

Step 1 How to verify Verify boundary

Replay a past incident and confirm the alert would have fired in time. Check the alert clears after recovery.

Step 2 Common failures Narrow the fault

A single short window pages on brief spikes. A single long window keeps paging after recovery. Low-traffic services make ratios jump; use minimum request counts.

Key points

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

Key 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
ReferenceWhat it is1 section · depth on demand

How it works

Burn rate is the observed error ratio divided by the allowed error ratio (1 − SLO). Requiring both a long window and a short window to exceed the threshold avoids paging for short spikes and resets quickly after recovery.

ReferenceImportant terms & boundaries3 sections · depth on demand

Multi-window burn-rate alerts

For a 99.9 % SLO over 30 days (error budget 0.1 %):

SeverityBurn rateLong windowShort window
Page14.41 h5 m
Page66 h30 m
Ticket13 d6 h
(job:slo_errors:ratio_rate1h > 14.4 * 0.001) and (job:slo_errors:ratio_rate5m > 14.4 * 0.001)

A burn rate of 14.4 uses 2 % of the monthly budget in one hour. Tools: Sloth, Pyrra, Grafana SLO.

In depth

Burn rate

Burn rate = observed error ratio ÷ error budget ratio. For a 99.9 % SLO the budget ratio is 0.001; an error ratio of 1.44 % is a burn rate of 14.4. At burn rate 1 the budget lasts exactly the SLO period; at 14.4 a 30-day budget is gone in about two days.

Recommended multi-window parameters for 99.9 % over 30 days (SRE Workbook)

SeverityLong windowShort windowBurn rateBudget consumed when it fires
Page1 h5 min14.42 %
Page6 h30 min65 %
Ticket3 days6 h110 %

Why two windows

The long window makes the alert significant (a real share of the budget is gone); the short window makes it stop quickly after recovery. Both must exceed the threshold.

- alert: ErrorBudgetBurnFast
  expr: |
    (job:slo_errors:ratio_rate1h{job="api"} > (14.4 * 0.001))
    and
    (job:slo_errors:ratio_rate5m{job="api"} > (14.4 * 0.001))
  labels: { severity: page }

with recording rules for each window:

- record: job:slo_errors:ratio_rate1h
  expr: |
    sum by (job) (rate(http_requests_total{code=~"5.."}[1h]))
      / sum by (job) (rate(http_requests_total[1h]))

Low-traffic services

With few requests, a handful of errors produces huge burn rates. Options: require a minimum request count in the expression, generate synthetic traffic so there is always a baseline, or aggregate several small services into one SLO. Tools such as Sloth or Pyrra generate these rules from a short SLO definition.

Source basisSource attribution states what this section is based on; it is not independent proof that the current environment matches it.

Common mistakes

  • Single-window burn alerts that are noisy.
Additional reference context Scope · expected state · examples · history · terminology Open only when you need the supporting context
Terminology layer

Terms & aliases

Hover a linked term for a quick definition; click it to open its glossary entry. Aliases are other names that find this Topic in search.

Aliases that resolve here
burn-rate alertsburn rate alertmultiwindow slo alert
Confirmation

Confirm action

Continue?