Skip to content

Writing a runbook entry for a recurring alert

A recurring alert without a runbook entry will eventually wake someone up at 3 AM who has never seen it. Here is the structure of a runbook entry that actually helps.

An alert that has fired three times in the last month and has no runbook entry is a future incident. The next person to see it will spend the first 20 minutes of an outage rediscovering what the previous on-call already knew, and the rediscovery will be worse because the context is paged-out and the previous engineer is asleep.

What’s happening

Runbooks degrade in two directions. They start out missing, then they get written and immediately go stale. Both failure modes produce the same outcome: the runbook entry is not the source of truth during an incident, the senior engineer’s memory is. That works until the senior engineer is on vacation.

The recurring alert is the most fixable case. It has fired before. Someone diagnosed it. That diagnosis exists in a Slack thread or a post-incident note. Promoting that information into a runbook entry turns a 20-minute rediscovery into a 2-minute action.

A useful runbook entry has four things: what the alert means in plain language, the symptoms to confirm before acting, the action to take, and the escalation path if the action fails. Anything more is documentation. Anything less is a sticky note.

How to verify

Pull the alert history and find rules that have fired three or more times without a linked runbook URL:

amtool alert query --resolved \
  --alertmanager.url=http://alertmanager:9093 \
  --output=json | jq '.[] | select(.annotations.runbook_url == null) | .labels.alertname' \
  | sort | uniq -c | sort -rn

Cross-reference against the on-call handoff notes from the last 90 days. Every alert that appears in a handoff note (“if X fires, do Y”) is a runbook entry that has not been written yet.

The fix

Write the entry directly in the alert rule, then link it. Four sections, in fixed order:

  1. What this alert means. One sentence in plain language. Not “p95 latency exceeded threshold” — that is the rule. “User-facing checkout responses are slow enough that customers are timing out.” That is the meaning.
  2. Confirm before acting. Two or three checks the on-call runs to distinguish the real incident from a related but different problem. Dashboard URL, log query, status page link.
  3. Take this action. Specific commands or specific UI steps. Not “investigate the queue.” Run this command. Look for this output. If output is X, do Y.
  4. Escalation. Who to wake up and when. “If the action above does not return the metric to normal in 10 minutes, page the on-call senior engineer.”

Add runbook_url to the alert annotations. The entry now appears in the page itself, the on-call has a starting point, and the next person to see the alert is not starting from zero.


Stack Harbor’s Monitoring & Support practice maintains runbooks alongside the alert rules as part of the managed operating model — senior engineers design the runbook, the on-call rotation executes against it. If your alerts fire without runbook entries, we can take a look.