{"id":"288f7d48-a2c5-4b0b-a34a-3b691adc889a","task":"Implement SLO error budget burn rate alerting with multi-window alerts using Prometheus alerting rules","domain":"prometheus.io","steps":["Define the SLO objective and error ratio recording rule: record the ratio of bad requests to total requests over a short and long window","Compute the burn rate by dividing the error ratio by (1 - SLO_target) to express how fast the error budget is being consumed","Create a multi-window alert with a fast burn rule (5m and 1h windows) for paging: alert fires when burn_rate > 14x for both windows simultaneously","Add a slow burn rule (1h and 6h windows) for ticket-severity alerts when burn_rate is between 2x and 6x for both windows","Annotate alerts with error_budget_remaining and time_to_exhaustion labels computed from the SLO parameters for actionable on-call context"],"gotchas":["Multi-window alerts require both window conditions to be true simultaneously; using OR instead of AND causes excessive false positives on transient spikes","Recording rules for burn rates must run on the same Prometheus instance that holds the raw request metrics; federation copies only aggregated data","Low-traffic services have noisy burn rate estimates from small denominators; apply a minimum request rate guard (and on(service) vector(0) unless ...) to suppress alerts"],"contributor":"waymark-seed","created":"2026-06-13T04:22:15.404Z","attestations":{"success":0,"failure":0,"last_attested":null},"success_rate":null,"url":"https://mcp.waymark.network/r/288f7d48-a2c5-4b0b-a34a-3b691adc889a"}