do-incident-runbook
When to use
You need an on-call runbook for a service, are turning tribal knowledge into a document a tired responder can follow at 3am, or are capturing what to do when a specific alert fires.
Not for: defining the alerts or SLOs themselves (use do-observability), the planned release/rollback procedure (use do-release-checklist), or debugging cluster internals (use do-kubernetes).
Method
- State the service's purpose, owners, dependencies, and criticality up front, plus links to dashboards, logs, and deploy history.
- For each known failure mode, write a symptom -> diagnosis -> mitigation entry: the alert or user report, the exact commands/queries to confirm the cause, and the ordered steps to mitigate.
- Lead with mitigation over root cause. Decision: if service is down, restore first (roll back, scale out, failover, drain, flag off), then investigate — never debug a live outage before stabilizing it.
- Include escalation: when to page the next tier, who owns each dependency, and the severity ladder with response-time expectations. Decision: escalate when a mitigation fails or the blast radius grows, not after an arbitrary delay.
- Add safety rails: mark destructive commands, changes needing a second approver, and the rollback for each mitigation.
- Keep it current: reference the last incident, note gaps, and prompt the reader to update the runbook after use.
Example
### Symptom: checkout 5xx rate > 5% (alert: CheckoutErrorBudgetFastBurn)
Confirm:
- dashboard: https://grafana/checkout (error rate panel)
- recent deploy? `kubectl rollout history deploy/checkout`
Mitigate (in order):
1. If a deploy shipped < 30m ago -> roll back:
`kubectl rollout undo deploy/checkout` [safe, reversible]
2. If DB saturated -> scale read replicas (see db runbook).
3. Still failing after 10m -> escalate to Tier 2 (@payments-oncall).
Do NOT: flush the Redis cache — cold cache amplifies the outage. [DESTRUCTIVE]
Pitfalls
- Leading with root-cause analysis while the service is down — the responder debugs while users bleed instead of restoring first.
- Vague steps ("check the database") instead of the exact command/query a half-awake responder can paste.
- No escalation trigger, so an overwhelmed responder struggles alone past the point they should have paged.
- Unmarked destructive commands (cache flush, data delete) with no "do not / needs approval" rail.
Output format
Header: service | owners | dependencies | dashboards | severity ladder.
Per failure mode:
### Symptom: <alert or user report>
Confirm: <exact commands/queries>
Mitigate (in order): 1... 2... 3...
Escalate when: <trigger> -> <who>
Do NOT / needs approval: <destructive steps>
Post-incident: update-this-runbook checklist.
1---2name: do-incident-runbook3version: 1.0.04description: Produce a clear on-call runbook mapping symptoms to checks and mitigation-first steps so a tired responder acts fast and safely.5author: matrixx00706tags: [incident, oncall, runbook, sre, reliability, mitigation]7capabilities: []8metadata:9 source: https://skillmd.com/skills/matrixx0070/do-incident-runbook10---1112# do-incident-runbook1314## When to use1516You need an on-call runbook for a service, are turning tribal knowledge into a document a tired responder can follow at 3am, or are capturing what to do when a specific alert fires.1718**Not for:** defining the alerts or SLOs themselves (use do-observability), the planned release/rollback procedure (use do-release-checklist), or debugging cluster internals (use do-kubernetes).1920## Method21221. State the service's purpose, owners, dependencies, and criticality up front, plus links to dashboards, logs, and deploy history.232. For each known failure mode, write a symptom -> diagnosis -> mitigation entry: the alert or user report, the exact commands/queries to confirm the cause, and the ordered steps to mitigate.243. Lead with mitigation over root cause. Decision: if service is down, restore first (roll back, scale out, failover, drain, flag off), then investigate — never debug a live outage before stabilizing it.254. Include escalation: when to page the next tier, who owns each dependency, and the severity ladder with response-time expectations. Decision: escalate when a mitigation fails or the blast radius grows, not after an arbitrary delay.265. Add safety rails: mark destructive commands, changes needing a second approver, and the rollback for each mitigation.276. Keep it current: reference the last incident, note gaps, and prompt the reader to update the runbook after use.2829## Example3031```markdown32### Symptom: checkout 5xx rate > 5% (alert: CheckoutErrorBudgetFastBurn)33Confirm:34 - dashboard: https://grafana/checkout (error rate panel)35 - recent deploy? `kubectl rollout history deploy/checkout`36Mitigate (in order):37 1. If a deploy shipped < 30m ago -> roll back:38 `kubectl rollout undo deploy/checkout` [safe, reversible]39 2. If DB saturated -> scale read replicas (see db runbook).40 3. Still failing after 10m -> escalate to Tier 2 (@payments-oncall).41Do NOT: flush the Redis cache — cold cache amplifies the outage. [DESTRUCTIVE]42```4344## Pitfalls4546- Leading with root-cause analysis while the service is down — the responder debugs while users bleed instead of restoring first.47- Vague steps ("check the database") instead of the exact command/query a half-awake responder can paste.48- No escalation trigger, so an overwhelmed responder struggles alone past the point they should have paged.49- Unmarked destructive commands (cache flush, data delete) with no "do not / needs approval" rail.5051## Output format5253```54Header: service | owners | dependencies | dashboards | severity ladder.5556Per failure mode:57### Symptom: <alert or user report>58Confirm: <exact commands/queries>59Mitigate (in order): 1... 2... 3...60Escalate when: <trigger> -> <who>61Do NOT / needs approval: <destructive steps>6263Post-incident: update-this-runbook checklist.64```