What makes a good alert? How do you avoid alert fatigue?
BeginnerConceptReliability, monitoring & incidents
Answer
In one line: A good alert fires only when a human needs to take action, points to a real user-facing problem, and tells the on-call engineer what to do; alert fatigue happens when people get so many noisy alerts that they start ignoring them.
Signs of a bad alerting setup:
- Hundreds of alerts a week, most of which "fix themselves".
- Alerts for every CPU spike above 80%.
- The same incident triggers 30 alerts at once.
- Engineers mute channels or ignore pages.
Principles of good alerts:
- Actionable — if nobody needs to do anything, it shouldn't page anyone. Make it a dashboard or a ticket instead.
- Symptom-based — alert on what users feel (error rate, latency, SLO burn), not every possible cause.
- Urgency levels — page (wake someone up) only for urgent customer impact; ticket/notification for things that can wait until working hours (disk at 75%, certificate expiring in 20 days).
- Avoid flapping — use a
forduration so brief spikes don't fire:- alert: HighErrorRate expr: | sum(rate(http_requests_total{status=~"5.."}[5m])) / sum(rate(http_requests_total[5m])) > 0.02 for: 10m labels: { severity: page } annotations: summary: "Orders API 5xx rate above 2% for 10 minutes" runbook_url: "https://wiki.example.com/runbooks/orders-5xx" - Runbook link in every alert, explaining what to check and how to fix it.
- Group and de-duplicate — Alertmanager grouping and inhibition rules so one outage doesn't send 50 pages.
- Review regularly — after each on-call week, delete or tune alerts that weren't useful. Track noisy alerts as tech debt.
Example: a team got 120 alerts a week. They removed CPU and memory pages, added SLO burn-rate alerts and grouped related alerts. Pages dropped to about 8 a week, and every one needed action.
Tip for interviews: say "every page must be urgent, actionable and user-impacting" and give a before/after example.
More on Reliability, monitoring & incidents
What are SLAs, SLOs and SLIs?BeginnerWhat is an error budget, and how is it used?IntermediateWhat are the four golden signals of monitoring?BeginnerWhat is the difference between metrics, logs and traces?BeginnerWhat is an incident, and what is incident management?BeginnerWhat are MTTR, MTTD, MTBF and MTTF?Beginner