Interview Prep/Monitoring & Observability/Alerting Strategy, SLOs & Runbooks

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:

  1. Synthetic traffic: add a blackbox probe every 30s so there is always a steady baseline of valid events.
  2. Minimum event guard: and sum(increase(http_requests_total[1h])) > 100 so the alert needs real volume.
  3. Longer windows or count-based alerts ("more than 5 failures in 1h") for that service only.
  4. Aggregate several tiny endpoints into one SLO.

Document the choice in the SLO spec so nobody "fixes" it back.

All Monitoring & Observability questions Roadmap: Monitoring & alerting

More on Alerting Strategy, SLOs & Runbooks