The Incident: The Alert Nobody Heard
Incident Hook
Friday, 18:05. A backend release reaches production. Login works in staging; in production, where the user table is a thousand times larger, one in three logins times out and returns 503.
18:12. Prometheus sees it. BackendCriticalErrorRate goes firing: the error rate is above 10%.
Nobody looks. The alert has no route: Alertmanager sends everything except the heartbeat to a receiver with no integration. And the people who would have looked muted the alert channel weeks ago - it fired around the clock: etcdInsufficientMembers (critical), TargetDown four times, KubeHpaMaxedOut four times. None of them ever needed anyone to do anything.
Saturday, 10:40. A customer writes to support: “I have not been able to log in since last night.”
10:55. Ana opens Grafana. The error rate is a flat line at 33% since 18:05 - for sixteen and a half hours. She rolls the release back (Chapter 10) at 11:10; the line drops to zero.
Monday. Boris asks his AI agent how to make sure this never happens again. It proposes more alerts: one on every 5xx, a lower threshold, a page for every pod restart.
Ana proposes fewer. Silence the alerts that ask for no action. Measure what users get - in each environment, without the probes. Page on a burning error budget, not on every spike. Route production to the production channel. And check, before the next release, that a test alert actually arrives.
Result: sixteen hours of failed logins, found by a customer - while the platform knew within seven minutes.
The story is invented; the eleven alerts at rest, the receiver with no integration and the old alert names were this platform’s own state before this chapter’s changes.
Observed Symptoms
- Prometheus shows the alert
firingfor hours; Alertmanager shows it delivered to a receiver callednull. - The alert channel has hundreds of messages, all about control-plane components and HPAs, none acted on.
- The error rate in Grafana mixes
develop,stagingandproductionand counts the kubelet’s probes: a 33% failure of logins appears as a smaller number. - The first human signal is a customer.
Confusion Phase
It looks like a monitoring gap:
- the platform did not detect the problem - so add detection;
- the threshold was too high - so lower it;
- one alert was not enough - so add more.
Was the problem missing alerts - or alerts that nobody could hear and nobody trusted?
What AI Would Propose (Brave Junior)
- “Alert on every 5xx, so nothing slips through.”
- “Lower the thresholds and page on every pod restart.”
- “Add CPU, memory and goroutine alerts for every service.”
Why This Is Dangerous
- More alerts make the important one quieter. Every alert that needs no action trains people to mute the channel - and the next real one goes into the same silence.
- An alert without a route is not an alert. Detection that reaches nobody is a graph nobody opens.
- Every 5xx is not an incident. One failed request among three in a quiet minute is real for the user who got it - but it is not enough evidence to wake someone; a sustained 3% is real harm. The rule must tell them apart.
- Internal signals are not user signals. CPU, memory and goroutines explain a problem; they do not prove that users have one.
Pause and Predict: The backend’s error rate is computed over all its requests. On an idle cluster almost all of them are the kubelet’s probes and Prometheus scrapes. What happens to a real failure when you divide it by that traffic?