LOOP · The DevOps Codex
Ch 15 · Incident Management & On-call
Chapter 15 · When It Breaks

Incident Management & On-call — structured response under pressure

Outages do not respect office hours. The teams that recover gracefully share three things: a clear command structure borrowed from emergency services, runbooks linked from every alert, and a culture that holds postmortems blameless. This chapter lays out the lifecycle, the tooling, and the disciplines that turn a 3 a.m. page into a calm, recorded response.

15.1 · Incident, alert, outage — three different things

TermDefinitionExample
AlertAn automated notification that a signal crossed a threshold."Error rate > 2% for 5 min."
IncidentA declared response to a real or suspected user-impacting event."Checkout failing for EU users since 14:02."
OutageA subset of incidents where the service is unavailable."All US-East traffic returning 503."

An alert may or may not lead to an incident; an incident may or may not be a full outage. Severity is how you scope the response.

SeverityDefinitionResponse
SEV1Critical user impact; revenue, safety, or trust at risk.All-hands; IC + Comms; status page; exec brief.
SEV2Significant impact, major feature broken or degraded.IC + on-call team; status page consideration.
SEV3Limited impact; workaround exists.On-call handles; ticket for fix.
SEV4Internal-only, no customer impact.Track in backlog.

15.2 · The Incident Commander framework

Definition. Borrowed from the US Incident Command System (ICS, FEMA, used by fire/EMS), the IC framework assigns clear roles during an incident so decisions converge rather than diverge under pressure.

RoleResponsibility
Incident Commander (IC)Owns the response. Makes decisions. Does not fix things — coordinates those who do.
Comms LeadInternal updates (Slack/Teams) + external status page + exec brief.
Operations / SME LeadsHands-on investigation and mitigation; report findings up to IC.
ScribeRecords the timeline, decisions, and actions for the postmortem.

15.3 · The six-stage lifecycle

Detect Triage Mitigate Communicate Resolve Learn

Communicate runs in parallel with Mitigate — not after. Users notice the silence faster than the bug.

15.4 · Detection sources

  • Alerting on SLOs — the gold standard (Ch 14): pages map to user-visible degradation.
  • Customer reports / Twitter/X — embarrassing but real; many SEV1s are first detected by a tweet.
  • Sales/Support escalation — large customers calling their AE. Build a channel for this.

15.5 · On-call rotations

PatternHowWhen it works
Primary + SecondaryTwo pagers; secondary escalates & covers if primary unreachable.Most teams ≥ 4 engineers.
Follow-the-sunRotations in 2–3 geos so no one is on overnight.Global SaaS with regional teams.
Weekly rotationOne full week, hand off Monday 10:00.Default. Pair with hand-off ritual.
Daytime + escalationBusiness-hours primary; auto-ticket overnight.Non-critical internal services.
  • Hand-off ritual — 15 min synchronous: open incidents, dodgy services, recent deploys, known toil.
  • Comp time — paid on-call stipend and time-in-lieu for off-hours pages. Anything less drives attrition.
  • Fairness — track pages/incidents per engineer; rotate or rebalance if one person is taking the brunt.

15.6 · Paging tools

ToolOwnerNotes
PagerDutyPagerDuty Inc.Category default; acquired Jeli (2023) for postmortem flow.
OpsgenieAtlassianEOL announced 2025 — migrating to Jira Service Management.
Splunk On-Call / Datadog On-CallSplunk · Datadog (GA 2024)Bundled with their observability suites.
Grafana OnCallGrafana Labs (OSS + Cloud)OSS option; tight with Grafana alerting.
AlertOps, ilert, SquadcastIndie SaaSCheaper PagerDuty alternatives.

15.7 · Incident response platforms

Definition. A response platform sits on top of the pager and Slack/Teams to declare incidents, assign roles, open war rooms, drive timelines, and generate the postmortem.

ToolStrength
incident.ioSlack-first, very fast adoption; workflow automation.
FireHydrant / RootlyRunbooks + customer-impact tracking; Slack-native, deep Jira/ServiceNow integration.
Jeli (now PagerDuty)Learning-from-incidents school; narrative timeline.
BlamelessCombined SLO + retrospective platform.
Komodor · Better Stack · SquadcastK8s-aware / lower-cost SaaS alternatives.

15.8 · Comms — internal & external

  • War room — single dedicated channel per incident (#inc-2026-04-12-checkout-eu). Video call when SEV ≤ 2.
  • Internal status — short bot-posted updates every 15–30 min, even if "still investigating." Silence breeds rumour.
  • External status page — post within 10 min of declaring SEV1/2. Templates beat improvisation.
Status page toolNotes
Atlassian StatuspageLong-time leader; Opsgenie integration.
Better Stack / Instatus / incident.io StatusModern, design-led, response-platform-native.
StatusGator / IsDownAggregators of upstream vendor pages.
# Customer comms — initial
We are investigating elevated error rates affecting [feature/region] since [time UTC]. Next update by [+30 min].
# Resolved
[Feature/region] restored as of [time UTC]. RCA published within 5 business days.

15.9 · Runbooks

Rule. Every alert links to a runbook. If it doesn't, the alert should not page.

Runbook sectionContents
SymptomWhat the user/alert sees.
ImpactWho is affected, how badly.
MitigationRestart, scale, failover, flag-off — with exact commands.
EscalationOwner team, SME, vendor.

15.10 · Postmortem culture

  • Blameless — names of actions, not of people. "The deploy was rolled" beats "Alice rolled the deploy."
  • Public-where-possible — share across the engineering org; classics (GitLab DB outage 2017, Cloudflare regex 2019) became industry-shaping reading.
  • 5-whys deeper than the obvious. "Disk filled" → "log rotation off" → "puppet drift" → "no drift detection" → action item: drift alert.
  • Action items have owners + due dates + tickets. Track completion; postmortems whose actions are never done are theatre.

15.11 · Incident metrics

MetricDefinitionWhy
MTTDMean Time To Detect — alert/report → triage start.Are we catching it before customers?
MTTAMean Time To Acknowledge — page → human ack.On-call responsiveness.
MTTRMean Time To Restore/Resolve — start → service back.DORA's headline reliability metric.
Customer-impact minutesΣ (users-affected × minutes).Better than count of incidents.
Error-budget burnFrom Ch 14 SLO.Ties incidents to reliability targets.
MTTR is a poor average. A handful of long SEV1s dwarf a swarm of short SEV3s. Report distribution (p50/p90) and break down by severity, not just the mean.

15.12 · On-call hygiene

  • Alert-fatigue audit — quarterly review every monitor: did it page? Was it actionable? Mute or rewrite if not.
  • "If it pages and isn't actionable, mute it." Every false page eats credibility next time.
  • No-alert weeks — reward high-performing services with proof they're stable: zero pages 4 weeks running ⇒ celebrate.
  • Page budget — primary on-call should not be paged more than ~2×/24h on average; above that, fix the system not the rotation. Cap IC shifts at ~4 h on active SEV1s.

15.13 · Anti-patterns

  • Hero culture — celebrating the 3 a.m. saviour rewards a broken system.
  • Single point of human failure — only one person who knows the database. Cross-train or it will fail at 4 a.m. on their honeymoon.
  • Blame — the fastest way to ensure the next person hides the next mistake.
  • Action items go nowhere — postmortem theatre. Track completion as a KPI.
  • Off-hours deploys — fewer reviewers awake, longer MTTR, harder rollback. Default to business-hours unless your team is truly follow-the-sun.
The 4 a.m. test. If your sleepiest engineer cannot follow the runbook on their phone in five minutes, you do not have a runbook — you have a wiki page.

15.14 · Self-check

Q1 · In the IC framework, who owns the response?
The SME currently typing kubectl commands.
The Incident Commander.
The CTO.
The most senior engineer in the war room.
Q2 · Which step of the six-stage lifecycle should run in parallel with Mitigate, not after?
Detect
Triage
Communicate
Learn
Q3 · An alert fires every night but nobody can act on it. The correct on-call hygiene action is to:
Add it to the weekly status report.
Snooze it for a quarter.
Mute or rewrite it into a ticket-only notification.
Route it to the CEO.