How do you handle SLO alerting for a low-traffic service where one failed request is 5% of the hour?
AdvancedProductionAlerting Strategy, SLOs & Runbooks
Answer
Burn-rate math breaks with small denominators: two errors out of 40 requests "burns" at 50x. Options we use:
- Synthetic traffic: add a blackbox probe every 30s so there is always a steady baseline of valid events.
- Minimum event guard:
and sum(increase(http_requests_total[1h])) > 100so the alert needs real volume. - Longer windows or count-based alerts ("more than 5 failures in 1h") for that service only.
- Aggregate several tiny endpoints into one SLO.
Document the choice in the SLO spec so nobody "fixes" it back.
More on Alerting Strategy, SLOs & Runbooks
What is the single most important rule for deciding whether an alert should page a human?BeginnerWhat severity levels do you define, and where does each one go?BeginnerWhy do mature teams alert on SLO burn rate instead of raw error rate thresholds?IntermediateIn a multi-window burn-rate alert, what is the short window for?AdvancedHow do you generate SLO alert rules without hand-writing dozens of burn-rate expressions?IntermediateHow do you pick an SLO target for a service that has never had one?Beginner