Summary#
An incident is any unplanned event that harms, or threatens to harm, the service your users depend on: an outage, a slowdown, data that looks wrong, a security breach. Incident management is the practised, repeatable way an organisation detects incidents, gets the right people working on them, limits the damage, keeps everyone informed, and returns to normal. A postmortem (also called an incident review or post-incident review) is the written analysis afterwards. It explains what happened, why it made sense to the people involved at the time, and what will change so the same class of failure is less likely or less harmful.
Every system that runs long enough fails. The difference between a 6-minute blip and a 6-hour headline outage is usually not the bug. It's how fast the failure was noticed, how quickly the right person was reached, whether they knew what to do first, and whether the organisation learned from it.
The core ideas covered on this page:
- On-call design and paging: rotations, escalation policies, which alerts may wake a human, and how to keep the on-call load sustainable.
- Severity levels: a shared scale (SEV1 to SEV4 or similar) defined by user impact, which decides how loud the response is.
- Incident roles: the Incident Commander coordinates, the Communications lead keeps stakeholders informed, and the Operations lead and responders work the problem. Separating these roles is the single biggest improvement most teams can make.
- Mitigate first, then fix: stop the user pain (roll back, fail over, turn off a flag, shed load) before hunting for the root cause.
- Status pages and communication: honest, regular, plain-language updates internally and to customers, on a channel that doesn't share fate with the thing that broke.
- Runbooks: written, linked-from-the-alert procedures that turn a 3 a.m. puzzle into a checklist.
- Blameless postmortems: written reviews that focus on how the system allowed the failure, not on who to punish, so people tell the whole truth.
- Contributing factors vs root cause: real incidents have several interacting causes. Hunting for a single "root cause" hides most of what there is to learn.
- Action items and follow-through: owned, prioritised, tracked fixes. A postmortem whose action items never ship is theatre.
- MTTD, MTTA, MTTR: the time to detect, acknowledge and recover, what they're good for, and why averages of them mislead.
- Error-budget policies: the pre-agreed rule for what happens (for example, a release freeze) when reliability falls below the SLO.
- Learning from public postmortems: landmark outages (AWS S3 2017, GitLab 2017, Cloudflare 2019, Facebook 2021, CrowdStrike 2024 and others) and the lessons they teach about blast radius, tooling and recovery.
Why It Exists#
Before structured incident management, outages tended to unfold the same way. An alert fires (or a customer tweets). Several engineers notice at once and all start investigating in private. Two of them restart the same service, undoing each other's work. Nobody tells support, so customers get no answer. A manager asks "what's the status?" every five minutes, pulling the most knowledgeable engineer away from the fix. Somebody finds the bad deploy after 40 minutes, but hesitates to roll it back because they're not sure it's safe and nobody is clearly in charge. Afterwards there's a meeting to find who caused it, so next time people are slower to admit what they did. And the same failure happens again three months later.
Incident management exists to replace that chaos with a small set of habits:
- Detect quickly: alert on user-facing symptoms, so the time from "broken" to "a human knows" is minutes, not hours.
- Reach the right person: a clear on-call rotation and escalation path, so somebody responsible is always reachable.
- Coordinate: one person in charge, explicit roles, one place where the work happens and where the timeline is recorded.
- Limit damage first: restore service by the fastest safe means; understand later.
- Communicate: regular updates on a predictable schedule, to engineers, executives, support and customers.
- Learn: a blameless written review with action items that actually get done.
The stakes are real. For a large e-commerce or payments business, revenue lost during downtime can run to many thousands of dollars per minute, on top of contractual SLA credits and, in regulated industries, regulatory reporting duties (for example, the EU's GDPR requires personal-data breaches to be reported to the supervisory authority within 72 hours of the organisation becoming aware, where feasible). Trust lost through poor communication often costs more than the outage itself. Customers forgive outages; they don't forgive silence or spin.
The discipline borrows heavily from emergency services. The Incident Command System (ICS) was developed in the 1970s by US firefighting agencies in California (the FIRESCOPE programme), after large wildfires showed that crews from different agencies couldn't coordinate: they used different terms, different radio channels and had no clear chain of command. ICS introduced a single incident commander, standard roles, common terminology and a "span of control" (one person directly manages only about 3–7 others). Google's internal incident management framework, PagerDuty's published incident response process, and most modern tech-company processes are adaptations of ICS.
There's also a cultural reason. Complex systems fail in complex ways, and the people closest to a failure know the most about it. If the organisation's response to failure is blame, those people stop sharing what they know: the shortcut they took because the tooling was awful, the warning sign they noticed but didn't escalate, the command they mistyped. The organisation then loses exactly the information it needs to get safer. Blameless incident culture isn't about being nice. It's an information-gathering strategy.
How It Works#
The incident lifecycle#
Every incident, from a 10-minute cache hiccup to a multi-day regional outage, moves through the same phases. Naming them helps teams know where they are and what the next step is.
The phases overlap in practice. You may still be triaging while mitigating, and the severity may go up or down as you learn more. What matters is that someone is explicitly tracking which phase the response is in.
What counts as an incident, and declaring early#
A useful definition: an incident is any event where users are, or soon will be, getting a materially worse service than your SLOs promise, or where there's a security or data-integrity risk. Typical triggers:
- An SLO burn-rate alert fires (errors or latency are eating the error budget fast).
- A core user journey is broken for some users: login, checkout, sending a message, uploading a file.
- Data is wrong or at risk: corrupted records, a failed backup on a critical database, a replication break.
- A security event: leaked credentials, unexpected access, an active exploit.
- A dependency is down and you're degraded because of it, even if it's "not our fault".
- Something is about to fail: a disk at 95% filling 1% per hour, a certificate expiring tonight, a queue backlog that will breach its SLA in 2 hours.
Declare early, and make declaring cheap. The most common failure in incident response isn't a wrong decision during the incident, it's a late start. An engineer spends 45 minutes quietly debugging something they think they can fix, while customers are affected and nobody else knows. Good organisations make declaring an incident a one-command action (/incident declare in Slack, a button in the incident tool), praise people for declaring, and say outright that a declared incident that turns out to be minor costs nothing: just downgrade or close it. Google's SRE guidance makes this explicit: it's better to declare an incident early and then find a simple fix and close it, than to spin one up hours into a problem.
Signs that it's time to declare a formal incident include:
- You need a second team.
- The problem is visible to customers.
- It hasn't been resolved after about 30–60 minutes of focused work.
- It touches revenue, security or data integrity.
Detection: how incidents are noticed#
The first metric in the incident timeline is time to detect. You can't respond to what you don't know about. Detection sources, in rough order of preference:
- Symptom-based alerts on SLIs: error rate, latency percentiles and availability of user-facing endpoints, ideally as SLO burn-rate alerts that fire when the error budget is being consumed too fast (the details are in the first deep dive). They catch failures regardless of cause. See Observability: Logs, Metrics and Traces for SLIs, SLOs and the golden signals.
- Synthetic monitoring / black-box probes: scripted checks that log in, search and check out every minute from several regions (tools like Pingdom, Datadog Synthetics, Checkly, or Prometheus's blackbox exporter). They catch failures even when traffic is low (at 3 a.m. you may not have enough real requests to compute an error rate), and they test the whole path including DNS, CDN and TLS.
- Cause-based alerts for imminent failure: disk filling, certificate expiry, replication lag, queue age, quota near its limit. These are things that will become symptoms, where you have time to act before users notice.
- Error reporting and crash tracking: tools like Sentry, Bugsnag or Crashlytics group exceptions and alert on spikes in new error types, which is often the fastest signal that a fresh deploy broke something.
- Layered monitoring: watch host level (one instance's CPU, memory, disk and network), aggregate level (load balancer and fleet statistics), log analysis (CloudWatch Logs, Splunk, Elasticsearch, Loki) and external performance (real-user monitoring from browsers and apps). Each layer catches failures the others miss.
- Humans: customer support tickets, social media, employees using the product ("dogfooding"). If customers regularly detect your incidents before your monitoring does, that is itself a finding for the next postmortem.
A rule of thumb: page on symptoms, ticket on causes. "Checkout error rate is 4% and burning the monthly budget in hours" should wake someone. "One of 40 pods restarted" should not; it's a ticket, or nothing at all if the system self-heals.
On-call design and paging#
On-call means a named person is responsible, for a defined period, for responding to alerts on a set of services. Paging is the mechanism that reaches them: a push notification, then a phone call, then SMS, repeating until acknowledged, via a tool such as PagerDuty, Opsgenie, incident.io, Grafana OnCall or Splunk On-Call.
The building blocks of an on-call system:
- Rotations (schedules): who is on call when. A common pattern is weekly rotations with a primary and a secondary (backup) on-call. Teams spread across time zones can use follow-the-sun rotations: London covers 08:00–20:00 UK time and San Francisco covers the other 12 hours, so nobody is woken at night.
- Escalation policies: what happens if the page isn't acknowledged. For example: page primary; after 5 minutes unacknowledged, page secondary; after another 10 minutes, page the engineering manager. Escalation guarantees that a page never silently dies.
- Service ownership: every alert routes to the team that owns the service. Alerts with no owner go to nobody, so ownership is part of service creation (a service catalogue such as Backstage, or the incident tool's service directory, records it).
- Urgency levels: high-urgency alerts page immediately at any hour; low-urgency alerts create a ticket or notify during working hours only.
- Handoffs: at rotation change the outgoing on-call writes a short summary (ongoing issues, flaky alerts, risky deploys planned) for the incoming one.
- Overrides and swaps: life happens. Easy schedule swaps keep the rotation fair without heroics.
Alert quality is the heart of on-call health. Every page should be:
- Urgent: it needs a human within minutes, not tomorrow.
- Actionable: there's something the on-call can do. If the only response is "wait and see", it shouldn't page.
- User-impacting, or about to be.
- Novel: not the fifth page for the same ongoing problem. Group and deduplicate related alerts.
- Linked to a runbook and to the relevant dashboard.
Alert fatigue is a reliability risk in its own right. If 80% of pages are noise, people start ignoring pages, and the one real page gets the same treatment. Track pages per shift and the percentage of pages that were actionable. Delete or demote alerts that are consistently not actionable. Many teams review every page from the previous week in a short on-call handoff meeting.
Sustainable on-call load. Google's SRE book (Beyer et al., 2016) gives useful limits from Google's practice:
- SREs should spend at most about 25% of their time on call.
- A 12-hour shift should average at most about 2 incidents, so that each one can be handled properly and followed up with a postmortem.
- At least half of SRE time should go to engineering work that reduces future operational load.
The exact numbers matter less than the principle: if on-call load exceeds what a person can handle thoughtfully, quality drops, people burn out, and the fix is engineering, not stamina. Other practices that keep on-call humane:
- Compensation or time off in lieu for out-of-hours on-call.
- Rotation sizes of about 6–8 people, so each person is on call roughly one week in six to eight. With fewer than about 5 people, on-call becomes too frequent, and with too many, people forget the systems between shifts.
- Shadow on-call for new joiners: they receive pages alongside an experienced engineer before carrying the pager alone.
- "You build it, you run it": the team that writes the service carries its pager. That creates a strong incentive to make the service reliable and its alerts meaningful. The model was popularised by Amazon CTO Werner Vogels in a 2006 interview.
- Protect the next day: after a night-time incident, the on-call shouldn't be expected to do a full day of feature work.
Severity levels#
A severity level is a shared, pre-agreed label for how bad an incident is. It decides who gets paged, how often updates go out, whether executives and customers are told, and whether a postmortem is mandatory. Without one, every incident is either an all-hands panic or ignored, depending on who notices it.
Severity should be defined by impact, not cause. "The database is down" isn't a severity; "50% of users can't check out" is. A typical scale:
| Level | Definition (impact) | Examples | Response |
|---|---|---|---|
| SEV1 (critical) | Core service down or badly degraded for many users; data loss or security breach; major revenue impact | Checkout failing for all users; login down globally; confirmed data leak | Page IC and all owning teams immediately, 24/7; exec and comms involvement; status page within about 15 minutes; updates every 30 minutes; postmortem mandatory |
| SEV2 (major) | Significant feature broken or degraded for a subset of users; core path at risk | Payments failing in one region; search latency 10× normal; mobile app crashing for one OS version | Page owning team and IC 24/7; status page if customer-visible; updates hourly; postmortem mandatory |
| SEV3 (minor) | Limited impact, workaround exists, or a non-critical feature is broken | Export to CSV failing; a dashboard stale; elevated errors on an internal tool | Owning team handles in working hours; no external comms; postmortem optional |
| SEV4 (low) | Cosmetic or no current user impact; a near-miss worth tracking | Typo in an error page; a single-node failure that auto-healed | Ticket; review in normal planning |
Some organisations number in the other direction (P1 to P5), or add a SEV0 for "existential" events like a total multi-region outage or a large breach. The labels don't matter. What does matter:
- Clear, observable criteria. "More than 5% of checkout attempts failing for more than 5 minutes" is better than "significant impact". On-call engineers decide severity at 3 a.m. and shouldn't need to make a judgement call about what "significant" means.
- Expectations attached to each level: who's paged, update cadence, comms channels, postmortem requirement.
- When in doubt, go higher. Downgrading a SEV1 to a SEV2 after 20 minutes costs a little attention. Treating a real SEV1 as a SEV3 for an hour costs customers.
- Severity can change. Re-assess as you learn. A "minor" elevated error rate can turn into a SEV1 when you discover it's silently corrupting data.
- Separate severity from priority of the fix. Severity describes current impact. The postmortem's action items get their own priorities.
Incident roles: commander, communications, operations#
The most important structural idea in incident response is separating coordination from hands-on work. In a big incident, the person debugging the database shouldn't also be answering the VP's questions, updating the status page and deciding whether to page the networking team. Each of those jobs needs full attention. The ICS-derived roles used across the industry:
- Incident Commander (IC): owns the incident. Sets priorities, assigns roles and tasks, makes decisions (or makes sure they get made), decides when to escalate, and declares the incident resolved. The IC does not debug. If the IC is the person with their hands on the keyboard, nobody is watching the big picture. In a small incident, the on-call engineer may be IC and responder, but as soon as a second team joins, someone should take the IC role exclusively. Many organisations train a pool of ICs (often senior engineers or engineering managers) and keep an IC rotation separate from service on-call rotations.
- Communications lead (Comms): owns all communication outward from the response. They post regular internal updates to stakeholders, update the status page, coordinate with customer support, and shield responders from status requests. They translate "p99 latency on the ledger service is 8 seconds due to lock contention" into "Some customers are seeing slow or failed payments; we've identified the cause and are applying a fix".
- Operations lead (Ops lead): directs the technical response. They coordinate the responders (subject-matter experts from the affected teams), propose mitigations to the IC, and make sure only one change is applied at a time, so effects can be attributed. In large incidents there may be several workstreams ("database recovery", "traffic failover", "customer data reconciliation"), each with its own lead reporting to the Ops lead.
- Scribe: records the timeline: what was observed, what was tried, what decisions were made and why, with timestamps. This makes handoffs possible and the postmortem accurate. Many tools now capture much of this automatically from the incident channel.
- Subject-matter experts (SMEs) / responders: the engineers doing hands-on investigation and mitigation.
- Liaisons: for the largest incidents, people who connect the response to other groups: legal, security, executives, major customers' account teams, or a cloud provider's support.
Principles that make the roles work:
- Explicit handover of command. "I'm the Incident Commander" is said out loud (or typed in the channel). When the IC hands over, for example at a shift change in a long incident, they say so explicitly ("Alice, you are now IC") and the new IC acknowledges. Ambiguity about who's in charge is a classic failure.
- Span of control. ICS recommends one person directly manage about 3–7 others. If the IC has 15 people reporting directly, it's time to create workstream leads.
- One source of truth: a single incident channel (and, for big incidents, a video bridge) plus a living incident document with current status, impact, actions in progress and the next update time. Side conversations in private messages hide information.
- Clear task assignment. "Can someone check the load balancer?" gets done by nobody or by three people. "Bob, please check the load balancer error rate in eu-west-1 and report back in 10 minutes" gets done.
- Rank doesn't change roles. If a senior executive joins the bridge, the IC is still in charge of the response. Good executives ask the Comms lead for status, not the engineers.
- Rotate and rest. In incidents longer than 8–12 hours, plan shifts for every role and send people home. Exhausted responders make mistakes that extend outages.
Mitigate first, then fix#
The single most important principle during an incident: your first job is to stop the user pain, not to understand it. Engineers are trained to find and fix bugs, so the instinct is to dig into logs until the root cause is clear. During an incident that instinct is often wrong. If checkout broke 12 minutes after a deploy, roll back the deploy now. You can work out which line of code was wrong tomorrow, with customers happily buying things in the meantime.
Mitigation reduces or removes user impact without necessarily fixing the underlying defect. A fix (sometimes called remediation) removes the defect. They're often different actions, and mitigation almost always comes first.
Common, "generic" mitigations that work for many failures regardless of the exact cause:
| Mitigation | Use when | Watch out for |
|---|---|---|
| Roll back the latest deploy or config change | Impact started soon after a change | Database migrations that aren't backward compatible; rollback must be tested |
| Disable a feature flag | The new feature is behind a flag | Flags only help if new risky code is behind them |
| Fail over / drain a zone, region or cluster | Impact is local to one failure domain | Remaining capacity must absorb the load (see Capacity Planning and Load Testing) |
| Scale up / scale out | Saturation: CPU, connections, queue depth | Doesn't help if the bottleneck is a shared dependency; can make a database worse |
| Shed load / rate limit | Overload, retry storms, an abusive client | Shed low-priority traffic first; tell support |
| Block bad traffic | One client, IP range or request pattern is causing harm | Make sure you're not blocking your biggest customer by mistake |
| Restart processes | Leaks, stuck threads, corrupted in-memory state | Masks the bug and loses evidence; capture a heap or thread dump first if you can |
| Isolate a bad node or dependency | One replica, host or downstream is unhealthy | Check the health-check logic itself isn't the problem |
| Degrade gracefully | A non-critical dependency is down | Serve cached or partial results; hide the broken feature |
| Freeze changes | You don't yet understand what's happening | Pause deploys, cron jobs and automation that might make it worse |
Google's SRE team has written about this as generic mitigations: a small toolkit of broad, well-rehearsed actions that should be available for every service, tested regularly, and usable without knowing the root cause. The reasoning is that most outage minutes are spent between "we know something's wrong" and "we understand exactly what's wrong". Generic mitigations cut out that middle period. If your service can't be rolled back in under 10 minutes, or drained from a region with one command, those are reliability gaps worth fixing long before the next incident.
Make decisions with incomplete information. IC decision-making during an incident is fundamentally about acting under uncertainty. A useful framing:
- Which actions are reversible? Rolling back a deploy, draining a zone and disabling a flag are usually reversible. Deleting data, restoring a backup over the current database, or failing over a primary database (which can lose recent writes) are not. Be aggressive with reversible mitigations and careful with irreversible ones.
- What is the cost of being wrong? If the rollback is unnecessary, you lose an hour of a feature. If it's necessary and you wait, customers lose an hour of service.
- One change at a time, with an explicit "wait and watch" period, so you know which action helped (or hurt). Two engineers simultaneously restarting different services create a second incident.
- Timebox investigations. "We'll investigate the database theory for 15 more minutes; if we've found nothing, we fail over to the other region."
Then fix, but carefully. Once impact is stopped, the urgency changes. The fix can wait for normal working hours, code review and the usual deployment pipeline. Rushed "hotfixes" pushed at 4 a.m. without review are a common cause of second incidents. A useful rule is that a mitigation can bypass normal process with IC approval; a fix goes through normal process unless the mitigation is unsustainable.
Status pages and communication#
Communication is half of incident response. Customers, support agents, sales teams, executives and other engineering teams all need to know what's happening. If they don't hear it from you, they'll interrupt responders to ask, guess, or tell the world on social media that you're hiding something.
Internal communication:
- An incident channel per incident (for example
#inc-2026-12-02-checkout-errors), created automatically when the incident is declared, with the IC, roles, severity and current status pinned at the top. - A broadcast channel (
#incidents) where every new incident and every status change is announced. Anyone in the company can see what's going on without joining the working channel. - Regular updates on a fixed cadence, even if there's no news: "Still investigating; next update at 15:30" is a useful update. A typical cadence is every 30 minutes for SEV1 and every 60 minutes for SEV2.
- A structured update format: impact (who's affected, how badly), current status (investigating / identified / mitigated / monitoring / resolved), what we're doing, next update time.
- Executive and stakeholder summaries written for non-engineers: business impact, expected duration if known, what customers are being told.
External communication: status pages. A status page (Atlassian Statuspage, Instatus, Better Stack, status.io, or self-hosted options like Cachet) is a public page listing each service component and its current state, with incident updates and history. Customers can subscribe via email, SMS, RSS or webhooks. Principles:
- Post early. An "Investigating" notice within 10–15 minutes of declaring a customer-visible SEV1 or SEV2 is common practice. Customers checking whether the problem is on their side is a large share of support load during an outage, and a status update answers them all at once.
- Plain language, honest scope. "Some customers in Europe are unable to log in" beats "Elevated error rates on the authentication subsystem". Don't minimise ("some users may experience a minor delay") when checkout is down.
- Never speculate about cause or promise times you can't keep. "We expect a fix within 30 minutes" turns into a broken promise far more often than it comes true. "We're applying a fix and will update by 15:30" is safer.
- Use a standard state progression: Investigating → Identified → Monitoring → Resolved.
- Separate fate. The status page must not depend on the infrastructure that's failing. A famous example is AWS's own S3 outage in us-east-1 on 28 February 2017: the AWS Service Health Dashboard couldn't show the problem for a while because it depended on S3 itself, and AWS changed the dashboard to run across multiple regions afterwards. Host your status page on a third-party provider or a different cloud, with a different DNS provider if possible.
- Close the loop. After resolution, post a summary. For major incidents, publish a public postmortem (or a customer-facing "incident report") within days, explaining what happened and what you're changing.
- Coordinate with support. Give support agents a canned response and a link to the status page, and route incoming tickets to a single tag so they can all be answered when it's resolved.
A minimal update template, which many teams store in their incident tool:
[SEV1] Checkout failures - Update 3 - 14:47 UTC
Status: Mitigated, monitoring
Impact: ~30% of checkout attempts failed 14:02-14:31 UTC, all regions.
Orders placed during this window were not charged.
Actions: Rolled back the 13:58 payments-service deploy at 14:29.
Error rate back to normal (0.3%) since 14:31.
Next: Monitoring for 30 min; support has a macro for affected users.
IC: @alice Comms: @raj Ops: @bob Next update: 15:15 UTCCommunicating during security incidents is different: details of an active breach may need to stay confidential until containment, legal counsel decides what can be said, and regulators and affected users may have notification deadlines. Keep security incidents in a restricted channel, and involve legal and security leadership from the start.
Runbooks#
A runbook (or playbook) is a written procedure for diagnosing and mitigating a known kind of problem. It turns the knowledge in the most experienced engineer's head into something the 3 a.m. on-call can follow. Every paging alert should link to its runbook.
A good runbook entry contains:
- What the alert means in plain words, and why it matters to users.
- How to confirm impact: which dashboards, queries or user journeys to check.
- Likely causes, ordered by frequency, with how to tell them apart.
- Mitigation steps with exact commands, links and expected results. "Run
kubectl rollout undo deployment/payments -n prod; error rate should drop within 2 minutes." - Escalation: who to page if this doesn't work, and the point at which to declare a higher severity.
- Safety notes: what not to do ("do not restart all Kafka brokers at once; restart one, wait for ISR to recover").
- Owner and last-reviewed date, so stale runbooks are visible.
# runbooks/checkout-error-rate.yaml (rendered into the on-call wiki)
alert: CheckoutErrorBudgetBurnFast
meaning: Checkout 5xx/timeouts are burning >2% of the 30-day budget per hour.
impact_check:
- dashboard: https://grafana.internal/d/checkout-slo
- query: sum(rate(http_requests_total{svc="checkout",code=~"5.."}[5m]))
likely_causes:
- recent deploy of checkout or payments (check #deploys, last 60 min)
- payment provider degradation (check provider status page and psp_latency)
- database connection pool exhaustion (db_pool_waiting > 0)
mitigations:
- "Recent deploy: argo rollouts undo checkout -n prod (2-3 min)"
- "Provider degraded: enable flag payments.failover_to_secondary_psp"
- "Pool exhausted: kill long-running queries (see db runbook); do not scale out"
safety:
- Scaling OUT checkout adds DB connections; check db max_connections first.
escalate: page payments-oncall if not mitigated in 20 min; declare SEV1 if >10% failing
owner: team-checkout last_reviewed: 2026-10-14Runbooks decay. Systems change, commands get renamed, dashboards move. Ways to keep them alive:
- Review runbooks in postmortems. "Did the runbook help? What was missing or wrong?" is a standard postmortem question.
- Test them in game days and when onboarding new on-call engineers: have someone follow the runbook literally against a staging failure.
- Automate the boring steps. If a runbook step is always "run these five commands", turn it into a single script or a button in the incident tool (runbook automation, sometimes using tools such as Rundeck, or AWS Systems Manager Automation). Taken to its conclusion, a runbook that's entirely mechanical should become self-healing automation, with a human paged only when it fails.
- Prefer decision support over rigid scripts. Real incidents rarely match the runbook exactly. Runbooks are most useful when they explain why each step works, so responders can adapt.
Blameless postmortems#
A postmortem is a written record of an incident: what happened, the impact, how it was detected and mitigated, why it happened, and what will change. It's the step that turns a bad day into lasting improvement. A blameless postmortem is one written on the assumption that everyone involved acted reasonably given the information, tools, time pressure and incentives they had at the time. The question isn't "who made the mistake?" but "how did our system (technology, processes, organisation) make that mistake possible, easy, or likely, and why didn't anything catch it?"
The idea was popularised in software by John Allspaw's 2012 Etsy engineering blog post Blameless PostMortems and a Just Culture. It draws on decades of safety research in aviation, healthcare and other high-risk industries. The reasoning is practical:
- People hide information when they fear blame. The engineer who ran the bad command knows exactly why it seemed right: the confusing flag name, the missing confirmation prompt, the runbook that said to do it. Blame makes them stay silent, and the organisation loses that knowledge.
- "Human error" is where the investigation should start, not where it ends. If a single typo can take down production, the problem is a system that allows a single typo to take down production. Firing the person who typed it leaves the trap set for the next person.
- Blame doesn't prevent recurrence. The next engineer in the same situation, with the same tools and pressures, will make the same choice.
Blameless doesn't mean accountability-free. People are still accountable for participating honestly, for completing action items and for following agreed safety practices. It means no punishment for honest mistakes made in good faith. Deliberate sabotage or repeated reckless disregard of safety are different matters, handled by normal management processes outside the postmortem.
When to write one. Typical triggers:
- Every SEV1 and SEV2.
- Any incident that consumed a large share of the error budget.
- Any data loss, security incident or SLA breach.
- On-call intervention that took more than a set time (for example 1 hour).
- Notable near-misses that could have been severe ("the backup restore failed in a drill").
- Any incident where someone asks for one.
Writing postmortems for near-misses is valuable precisely because they're cheap lessons: you learn about the hole in the defences without paying for the outage.
A standard postmortem structure:
- Summary: two or three sentences a non-engineer could understand.
- Impact: who was affected, for how long, how badly. Numbers: requests failed, users affected, revenue impact, SLO budget consumed, data lost, SLA credits owed.
- Timeline: timestamped events, from the first contributing change (often days earlier) through detection, response and resolution. Include what responders knew and believed at each point, not just what was true.
- Detection: how was it noticed? How long did that take? Would better alerting have caught it earlier?
- Response and mitigation: what was tried, what worked, what slowed things down (missing access, unclear runbooks, confusing dashboards, waiting for an approval).
- Contributing factors: the technical, process and organisational conditions that together produced the incident (explained in the next section).
- What went well: things worth keeping, such as a fast rollback or a good alert. This reinforces good practice and makes the review less adversarial.
- Where we got lucky: things that limited the damage by chance. These are hidden risks.
- Action items: owned, prioritised, tracked work items (see below).
- Lessons learned / supporting information: graphs, logs, links to related incidents.
The process. The incident owner (often the IC, or an engineer from the most affected team) writes a draft within a few working days, while memories are fresh. They interview responders individually, because people often share more in a one-to-one conversation than in a group. A postmortem review meeting (30–60 minutes, run by a facilitator who wasn't in the incident) walks through the timeline and contributing factors, challenges assumptions and agrees action items. The final document is published widely: across engineering at minimum, and for major customer-facing incidents often publicly. Many organisations run a regular (weekly or monthly) cross-team postmortem review where the most interesting incidents are discussed, and keep a searchable archive so patterns across incidents become visible.
Watch the language. Blameless writing avoids naming individuals as causes ("Bob ran the wrong command") in favour of describing actions and context ("An engineer ran the cleanup script against the production cluster. The production and staging cluster names differ by one character, and the script has no confirmation step."). It also avoids counterfactuals ("the engineer should have checked the cluster name"), which describe what didn't happen rather than explaining what did, and are easy to state only in hindsight.
Contributing factors vs root cause#
Many postmortem templates have a field labelled "Root cause". It invites the idea that each incident has exactly one cause, which, once found and fixed, prevents the incident. Real outages in complex systems almost never work like that. Typically several conditions, each harmless on its own, line up:
- A latent defect: a bug, a misconfiguration or a capacity limit that has existed for months.
- A trigger: a deploy, a traffic spike, a config change, a hardware failure or a routine maintenance task.
- Missing or failed defences: no canary, a test that didn't cover the case, an alert that didn't fire, a safety check that could be bypassed.
- Response obstacles: dashboards that misled, a runbook that was out of date, the one person who understood the system on holiday.
- Organisational conditions: pressure to ship, an understaffed team, unclear ownership, or a previous postmortem action item that was never completed.
Psychologist James Reason's Swiss cheese model, which grew out of his 1990 book Human Error, captures this. Each layer of defence is like a slice of Swiss cheese with holes (weaknesses). Usually the holes don't line up and some layer stops the failure. An accident happens when holes in every layer momentarily align. The lesson is that the fix isn't "find the one hole", but to add and strengthen layers and make holes less likely to align.
(The diagram is an illustrative composite: a bad configuration slips through every layer of defence.)
Why the "Five Whys" can mislead. The Five Whys technique, which originated at Toyota, asks "why?" repeatedly to get from symptom to cause. It's useful for getting past the obvious first answer, but in complex software incidents it tends to:
- Follow a single chain and ignore the parallel factors (why was the alert missing? why was the rollout global?).
- Stop at a person ("why did the engineer run the command? Because they made a mistake"), which is a dead end.
- Depend on who's asking: different investigators reach different "root causes" for the same incident.
A better approach is to ask, for each phase of the incident, several open questions: What made this possible? Why wasn't it caught earlier? What made detection slow? What made mitigation slow? What made it worse? What limited the damage? Each answer is a contributing factor, and each contributing factor can have its own action item.
Richard Cook's short paper How Complex Systems Fail (1998, written from a medical safety perspective but widely read in software operations) summarises several of these ideas:
- Complex systems are always running in a partially broken, degraded mode.
- Catastrophe requires multiple failures.
- Post-accident attribution to a single "root cause" is fundamentally wrong.
- Hindsight bias distorts post-incident assessments.
- The same human adaptability that sometimes causes failures is what keeps systems running most of the time.
Some organisations still use "root cause" as shorthand for "the main trigger", and that's fine as long as the postmortem also captures the other factors. A practical compromise in templates: a "Trigger" field plus a "Contributing factors" list.
Action items and follow-through#
Action items are the reason postmortems exist. A brilliant analysis with no completed follow-up changes nothing. The postmortem's action items should cover the whole incident, not just the trigger:
| Category | Question it answers | Examples |
|---|---|---|
| Prevent | How do we stop this class of trigger? | Add validation for empty config fields; add a confirmation prompt to the destructive script |
| Detect | How do we notice sooner? | Add a burn-rate alert on the checkout SLO; add a synthetic probe for the EU login path |
| Mitigate | How do we stop the pain faster? | Make rollback one command; pre-build a regional drain button; write the missing runbook |
| Limit blast radius | How do we make the next one smaller? | Stage config rollouts by region and cell; add feature flags around new behaviour |
| Process and organisation | What made it easier for this to happen? | Clarify service ownership; add the runbook to on-call onboarding; staff the rotation properly |
Good action items are:
- Specific and verifiable: "Add schema validation rejecting empty
quota_limitin the policy pipeline", not "Improve config validation". - Owned by a named person (and team), not "the team" or "someone".
- Prioritised with the same scale as other engineering work (for example P0 to P3), with a due date.
- Tracked in the normal work tracker (Jira, Linear, GitHub issues), linked from the postmortem and tagged so they can be reported on.
- Sized realistically. Twenty action items from one incident usually means none get done. Pick the few that would most reduce recurrence or impact, and record the rest as "considered".
- Biased toward systemic fixes. "Retrain engineers to be more careful" is rarely effective. "Make the dangerous operation impossible or safe by default" is.
A useful ordering for fixes, borrowed from safety engineering's hierarchy of controls:
- Eliminate the hazard (remove the dangerous command, the single point of failure).
- Engineer it away: guardrails, automation, rate limits, validation, staged rollouts.
- Administrative controls: checklists, reviews, runbooks, approvals.
- Training and warnings.
The higher on the list, the more reliably the fix works.
Follow-through is where most organisations fail. Action items compete with feature work. Without explicit attention they slip, sometimes until the same incident recurs. Mechanisms that help:
- A regular reliability or operations review (weekly or monthly) that lists open postmortem action items by age and priority, with leadership present.
- Metrics: the percentage of P0/P1 action items closed within their due date, and the number of incidents that recurred because of an open action item. Make these visible.
- Error-budget policies (below) that formally put reliability work ahead of features when the budget is exhausted.
- Repeat-incident tagging. When a new incident's postmortem finds that a prior action item would have prevented it, call that out prominently. It's the strongest argument for prioritisation.
- Verification. Closing a ticket isn't the same as fixing the risk. Prove it: run a drill, inject the failure, or confirm the new alert fires in a test.
MTTD, MTTA, MTTR#
Incident timelines have several well-defined intervals. Their averages are the most commonly reported incident metrics.
- MTTD, mean time to detect: impact start → detection. It's driven by alerting quality (symptom-based, burn-rate alerts, synthetic probes). Hours-long MTTD usually means customers are your monitoring.
- MTTA, mean time to acknowledge: alert → a human acknowledges. It's driven by paging configuration, escalation policies and on-call health. Typically a few minutes in a healthy rotation; long MTTA suggests alert fatigue, bad routing or missing escalation.
- MTTM, mean time to mitigate: impact start (or acknowledgement) → user impact stopped. This is the interval users actually care about, and it's driven by generic mitigations, runbooks, rollback speed and the incident process.
- MTTR, mean time to recovery / repair / resolve / respond: confusingly, all four meanings are in use. Always define which one you mean. In the DORA research (see DevOps, SRE and Platform Engineering), "time to restore service" (more recently "failed deployment recovery time") means the time to restore service after a failed change.
- MTBF, mean time between failures: the average interval between incidents. It's related to availability by the classic formula: availability = MTBF / (MTBF + MTTR). For example, with one 1-hour outage every 30 days: 720 / 721 ≈ 99.86%.
The formula explains why reducing MTTR is often the cheaper path to better availability. Halving the outage duration has the same effect on availability as halving the outage frequency, and it's usually easier: faster detection, faster rollback and better runbooks are within one team's control, while preventing every failure isn't.
Use these metrics carefully. Several pitfalls are common:
- Averages of long-tailed distributions mislead. Incident durations are highly skewed: most incidents are short and a few last many hours. A single 10-hour incident dominates a quarter's MTTR. Analyses of real incident data have argued that MTTR is too noisy to show whether a process change helped; see the third deep dive. Prefer medians and percentiles, distributions over time, or the total user-impact minutes.
- Goodhart's law: when a measure becomes a target, it ceases to be a good measure. If teams are rewarded for low MTTR, incidents get closed early, downgraded or not declared at all.
- Definitions vary: does detection start at impact or at the first alert? Is a SEV3 included? Compare metrics only with consistent definitions.
- Count user impact, not just incidents. Twenty 2-minute blips may matter less to users than one 3-hour outage. The SLO and its error budget already measure the user experience, so use those as the primary reliability metric and the incident metrics to diagnose the response.
Error-budget policies#
An error budget is the amount of unreliability an SLO permits. A 99.9% availability SLO over 30 days allows 0.1% failure: about 43 minutes of full outage, or the equivalent in partial errors. (The Observability page works through the numbers.) The budget turns reliability from an argument ("we need to slow down!" / "we need to ship!") into a shared, measurable quantity: while there's budget left, ship; when it's gone, invest in reliability.
An error-budget policy is the written, agreed-in-advance rule for what happens as the budget is consumed. Without a policy, the budget is just a number on a dashboard. A typical policy, adapted from the example in Google's The Site Reliability Workbook (Beyer, Murphy, Rensin, Kawahara and Thorne, O'Reilly, 2018):
- Budget remaining: releases proceed as normal.
- Budget exhausted over the trailing window: a feature freeze for the service. Only P0 bug fixes, security fixes and reliability improvements ship until the service is back within its SLO.
- A single incident consumes more than about 20% of the budget: a postmortem is mandatory, with at least one high-priority action item addressing the main cause.
- A recurring class of outage consumes a large share of the budget over a quarter: reliability work for it goes into the team's quarterly plan.
- Disagreements about the calculation or the policy are escalated to a named executive, so the policy can't be quietly ignored.
- Exemptions: outages caused by a dependency covered by its own SLO, or by events outside the agreed scope, may be excluded by agreement.
Error-budget policies work because they're agreed before the incidents happen, by product, engineering and SRE leadership together. That removes the argument from the stressful moment. They also create a natural feedback loop for incident management. Burn-rate alerts detect budget consumption, postmortems explain it, the policy enforces prioritisation of action items, and the error budget recovers. A team that never uses its budget may be over-investing in reliability (or shipping too cautiously). A team that's always out of budget has an SLO that's either unrealistic or being ignored.
Learning from public postmortems#
Some of the best teaching material in systems engineering is other companies' postmortems. Many large providers publish detailed reports after major outages. Reading them builds pattern recognition: the same handful of failure shapes appears again and again, at every scale. Collections such as Dan Luu's post-mortems repository on GitHub, and the VOID (Verica Open Incident Database), make hundreds of them searchable. A few landmark examples, and what each teaches:
- AWS S3, us-east-1, 28 February 2017. While debugging a slow billing system, an engineer ran an established playbook command meant to remove a small number of servers. One input was entered incorrectly, and a much larger set was removed, including servers supporting two core S3 subsystems (the index and placement subsystems). Both needed a full restart, which hadn't been done in the largest regions for years and took far longer than expected as the system had grown. Many AWS services and thousands of websites that depended on S3 in us-east-1 were impaired for about four hours. Lessons: tools should limit the blast radius of a single command; AWS changed the tool to remove capacity more slowly and to refuse to take a subsystem below its minimum required capacity. Recovery paths must be exercised at current scale, and a status dashboard must not depend on the thing it reports on.
- GitLab.com database incident, 31 January 2017. During a late-night response to replication lag and spam-driven load, an engineer ran a directory deletion intended for the secondary database on the primary instead. When the team turned to backups, they found that several of the backup and replication mechanisms they believed they had were not working. Restoring from a staging copy made about six hours earlier lost roughly six hours of production data (issues, merge requests, comments and more). GitLab live-streamed and documented the recovery in unusual openness. Lessons: untested backups aren't backups (see Disaster Recovery and Backups); make the prompt and hostname of production machines unmistakable; fatigue is a contributing factor; transparency earns trust.
- Cloudflare, 2 July 2019. A new WAF rule containing a regular expression vulnerable to catastrophic backtracking was deployed to all of Cloudflare's edge globally at once. CPU on edge machines hit 100%, and traffic through Cloudflare failed for about 27 minutes. Cloudflare's postmortem described how WAF rules were deployed globally in one step, unlike code, which went through staged rollout, because quick global rule updates were important for responding to new attacks. Lessons: configuration is code and needs staged rollout too. Use regex engines with linear-time guarantees for untrusted patterns (Cloudflare moved toward such engines). Have a global kill switch that's itself reliable.
- Facebook (Meta), 4 October 2021. During routine maintenance, a command intended to assess the capacity of the global backbone accidentally disconnected all of Facebook's data centres from each other. An audit tool that should have blocked the command had a bug. Facebook's DNS servers, designed to withdraw their BGP route advertisements when they can't reach the data centres, did exactly that, making Facebook, Instagram and WhatsApp unreachable from the internet. The outage lasted about six hours. Recovery was slowed because the internal tools engineers would normally use were down too, and physical access to secure data-centre hardware took time. Lessons: safety checks need testing too; healthy-looking self-protection logic can amplify an outage; out-of-band access and break-glass procedures must not depend on the production network; bringing a huge system back at once must be managed to avoid power and load surges.
- CrowdStrike, 19 July 2024. A faulty content configuration update (a "channel file") for the Falcon endpoint security sensor caused Windows machines to crash with a blue screen at boot. Microsoft estimated about 8.5 million Windows devices were affected, including systems at airlines, hospitals, banks and broadcasters. Recovery often required manual, hands-on remediation of each machine. Lessons: content and configuration updates need the same staged, canaried rollout as code, especially when they run in privileged (kernel-level) software; customers need control over update timing; a recovery path that requires touching every machine by hand turns a minute-long push into a days-long outage.
- Knight Capital, 1 August 2012. A deployment of new trading software reached only seven of eight servers. An old, dormant feature on the eighth was reactivated by a repurposed flag. In about 45 minutes, the system sent millions of erroneous orders, and the firm lost more than $440 million. The US SEC's later order described inadequate deployment procedures and controls. Lessons: automate deployment verification; never repurpose flags; have a kill switch for automated systems that can do damage fast; dead code is a liability.
- Atlassian, April 2022. A maintenance script intended to delete a legacy app's data was run with a list of IDs that identified entire customer sites rather than the app. About 775 customers lost access to their Atlassian cloud products, some for up to two weeks, while sites were restored one by one. Atlassian's post-incident review highlighted gaps in communication, and in its tooling for restoring individual customers rather than whole environments. Lessons: destructive operations need validation of what is being deleted, soft-delete with a grace period, and restore tooling at the granularity of a single customer; communication during a long outage needs a plan, not improvisation.
- Roblox, 28 October 2021. A 73-hour outage centred on the company's Consul cluster (used for service discovery and configuration). Roblox's detailed postmortem, written with HashiCorp, described how a newly enabled Consul streaming feature combined with a pathological performance issue in the BoltDB storage layer under their workload, and why diagnosis and recovery took days. Lessons: a core dependency that every service uses (service discovery, configuration) is a single point of failure that needs its own isolation and headroom; new features in core infrastructure deserve staged enablement; a long outage needs sustained incident leadership and shifts.
Common patterns across public postmortems:
- Configuration or "data" changes deployed faster and wider than code. (Cloudflare, CrowdStrike, and many others.) The fix is staged rollout for everything that changes production behaviour.
- A single command with an unbounded blast radius. (AWS S3, GitLab, Atlassian, Facebook.) The fix is rate limits, validation, minimum-capacity floors and confirmation for destructive operations.
- Recovery mechanisms that had never been exercised at current scale. (AWS S3 restart, GitLab backups.) The fix is regular restore drills and game days.
- Circular dependencies: monitoring, status pages, access tooling, or DNS that depend on the failing system. (AWS status dashboard, Facebook tooling.) The fix is mapping dependencies and building out-of-band paths.
- Self-protection that amplifies: health checks, retries, failovers and route withdrawals that turn partial failures into total ones. The fix is testing those behaviours under realistic failure.
Use these as a checklist when designing systems ("what is our version of the S3 command?") and when reviewing your own postmortems.
When to Use It#
Every team running a production service needs some incident management. What scales with the organisation is how much formality you add:
- Any production service with users who'd notice an outage needs on-call ownership, symptom-based paging, a severity scale and postmortems for significant incidents.
- Multiple teams and services: add a trained Incident Commander pool, a shared incident tool, a broadcast incidents channel and a cross-team postmortem review.
- Customer-facing SaaS or consumer products: add a public status page, comms templates, support integration and customer-facing incident reports.
- Regulated industries (finance, healthcare, critical infrastructure): add formal incident classification aligned with regulatory reporting duties, audit trails, and security incident response procedures.
- Defined SLOs: add error-budget policies that link incident impact to engineering prioritisation.
Pick something else instead when:
- You need to prevent incidents, not respond to them: that's Resilience Patterns: Timeouts, Retries and Circuit Breakers, Designing for High Availability and safe deployment practices (CI/CD and Deployment Strategies). Incident management is the safety net, not the structure.
- You need to recover from a disaster (region loss, ransomware, data corruption): incident management coordinates the response, but the technical plan is Disaster Recovery and Backups.
- The problem is chronic, not acute. A service that is slow every afternoon isn't a series of incidents, it's a capacity or design problem to be planned as project work.
When NOT to Use It#
- Don't run a full ICS-style response for SEV3/SEV4 issues. A single engineer fixing a broken CSV export doesn't need a commander, a comms lead and a status page. Over-processing small incidents wears out the process and the people.
- Don't write full postmortems for every alert. For routine, well-understood, low-impact events, a brief note or a ticket is enough. Reserve the full process for incidents that teach something.
- Don't let process slow mitigation. If the runbook says "roll back" and the on-call can do it in two minutes, they shouldn't wait for an IC to be appointed first. Mitigate, then declare.
- Don't treat incident metrics as performance targets for teams or individuals (MTTR leaderboards, incident counts per team). That discourages declaring incidents and makes the data meaningless.
- Don't use the postmortem to settle political arguments. Its purpose is learning, not winning a debate about architecture or headcount. Those discussions can use the postmortem as evidence elsewhere.
How to Implement It#
- Define service ownership. Every production service has an owning team recorded in a service catalogue, with an on-call schedule. No owner, no production.
- Define SLOs for key user journeys and build symptom-based, burn-rate alerts on them (see the snippet below). Route them by service to the owning team's rotation.
- Set up rotations and escalation policies in a paging tool: primary and secondary, an escalation within 5–15 minutes, a manager or IC as the last step. Test that a page actually reaches a phone, including at night.
- Write a severity scale with observable, impact-based criteria and the response attached to each level. Publish it where every engineer will see it.
- Define incident roles and train ICs. Run tabletop exercises in which a team talks through a simulated incident, and shadow real incidents. Keep a separate IC rotation for SEV1/SEV2.
- Create the incident toolkit: a one-command declaration that creates a channel, a document and a status-page draft; templates for updates; a broadcast channel; a video bridge.
- Write runbooks for every paging alert, linked from the alert itself. Build generic mitigations (one-command rollback, regional drain, kill-switch flags) and practise them.
- Set up a status page on independent infrastructure, with components that match how customers think about the product, and a comms owner for each severity.
- Adopt a blameless postmortem template and process: required for SEV1/SEV2, draft within about 5 working days, review meeting, published to an archive.
- Track action items in the normal backlog with priorities and due dates, and review them in a recurring reliability meeting.
- Agree an error-budget policy with product and engineering leadership, and make it operational (dashboards, release gating).
- Practise. Run game days, chaos experiments and DR drills, which exercise the incident process as well as the technology. Review on-call health (pages per shift, actionable percentage, out-of-hours pages) every month or quarter.
A Prometheus alerting rule pair implementing multiwindow, multi-burn-rate SLO alerts, following the approach in the SRE Workbook, for a 99.9% SLO over 30 days. Labels carry severity and the runbook link, so the paging tool routes correctly and the on-call lands on the right page:
groups:
- name: checkout-slo
rules:
# Error ratio over several windows (recording rules omitted for brevity)
- alert: CheckoutErrorBudgetBurnFast # 2% of monthly budget in 1h
expr: |
job:checkout_error_ratio:rate1h > (14.4 * 0.001)
and job:checkout_error_ratio:rate5m > (14.4 * 0.001)
labels:
severity: page
service: checkout
team: team-checkout
annotations:
summary: "Checkout burning error budget 14x (page)"
runbook: "https://runbooks.internal/checkout-error-rate"
dashboard: "https://grafana.internal/d/checkout-slo"
- alert: CheckoutErrorBudgetBurnSlow # 5% of monthly budget in 6h
expr: |
job:checkout_error_ratio:rate6h > (6 * 0.001)
and job:checkout_error_ratio:rate30m > (6 * 0.001)
labels:
severity: page
service: checkout
team: team-checkout
annotations:
summary: "Checkout burning error budget 6x (page)"
runbook: "https://runbooks.internal/checkout-error-rate"
# A third rule at 1x over 3 days (and 6h) would use severity: ticket.Alertmanager (or the paging tool's own routing) then sends severity: page to the team's high-urgency PagerDuty/Opsgenie service, severity: ticket to a low-urgency queue, and groups alerts by service so one failure produces one page, not fifty.
| Technology | Fits when |
|---|---|
| PagerDuty, Opsgenie, Splunk On-Call, Grafana OnCall | Schedules, escalation policies, multi-channel paging, alert grouping |
| incident.io, FireHydrant, Rootly, PagerDuty Incident Response, Jira Service Management | Slack/Teams-native incident declaration, roles, timelines, postmortem drafts |
| Netflix Dispatch (open source) | Self-hosted incident orchestration integrated with Slack, Jira and Google Docs |
| Prometheus + Alertmanager, Grafana Alerting, Datadog monitors, CloudWatch Alarms | SLO and burn-rate alerting; routing by labels |
| Sloth, Pyrra, Google Cloud / Datadog / Nobl9 SLO features | Generating SLOs and burn-rate rules from SLO definitions |
| Atlassian Statuspage, Instatus, Better Stack, status.io, Cachet (self-hosted) | Public or internal status pages with subscriber notifications |
| Sentry, Bugsnag, Crashlytics | Fast detection of new exceptions and crash spikes after a deploy |
| Pingdom, Checkly, Datadog Synthetics, blackbox exporter | Synthetic probes of user journeys from multiple regions |
| Rundeck, AWS Systems Manager Automation, StackStorm | Runbook automation and self-service operations |
| Backstage, OpsLevel, Cortex | Service catalogue with ownership and on-call links |
| Jira, Linear, GitHub Issues | Postmortem action-item tracking alongside normal work |
Trade-offs#
| Option | Pros | Cons | Pick when |
|---|---|---|---|
| Team owns its on-call ("you build it, you run it") | Strong incentive for reliability; deep system knowledge | On-call burden on every team; uneven quality | Product teams owning microservices |
| Central SRE / ops team on-call | Specialist responders; consistent process | Distance from the code; "throw it over the wall" | Shared infrastructure; small product teams; SRE engagement model |
| Follow-the-sun rotation | Nobody paged at night | Needs teams in several time zones; handoff losses | Globally distributed organisations |
| Weekly 24/7 rotation | Simple, continuity within a week | Night pages; fatigue | Small teams, low page volume |
| Dedicated IC rotation | Trained, consistent coordination | Extra people and training | Medium and large organisations; frequent multi-team incidents |
| On-call engineer acts as IC | No extra staffing | Coordination suffers once a second team joins | Small teams; SEV3/SEV4 |
| Detailed public postmortems | Customer trust; industry learning | Legal and PR review effort; may reveal sensitive detail | Major customer-facing incidents; infrastructure providers |
| Internal-only postmortems | Candour; speed | Customers left guessing | Internal or minor incidents |
| Strict error-budget freeze | Enforces reliability priority | Can block urgent business features | Mature SLOs with leadership buy-in |
| Advisory error budget | Flexible | Easily ignored | Early SLO adoption |
| Heavy automation of response | Faster mitigation; less toil | Automation can amplify failures; skill atrophy | Well-understood, frequent failure modes |
Common Pitfalls#
- Late declaration. Hours of quiet debugging before anyone declares an incident. Make declaring cheap and praised.
- No clear commander, or the IC also debugging. Coordination collapses as soon as more than two people are involved.
- Too many people on the bridge, many of them silent observers or executives asking for status. Use the broadcast channel and comms lead for updates; keep the working channel for responders.
- Parallel uncoordinated changes, making it impossible to know what helped and often causing new failures.
- Root-cause tunnel vision: refusing to roll back "until we understand", while users suffer.
- Alert fatigue: noisy, non-actionable pages that teach on-call engineers to ignore pages.
- Stale runbooks that send responders to old dashboards or wrong commands.
- Status page fate-sharing with production infrastructure, or no status page updates at all for an hour.
- Blame, explicit or implicit: "Who pushed this?", naming individuals as the cause in postmortems, or performance reviews that count incidents. People stop telling the truth.
- Single root cause postmortems that miss the detection, response and organisational factors.
- Action items that never ship, and the same incident a quarter later.
- Burnout: small rotations, many night pages, and no recovery time. On-call fatigue is a leading indicator of incidents caused by mistakes.
- No practice. The first time anyone uses the regional failover is during a real regional outage.
Real-World Examples#
- Google describes its incident management practice (based on ICS) in the Site Reliability Engineering book (2016): the "Managing Incidents" chapter covers the IC, Ops and Comms roles and a live incident document. The "Postmortem Culture" chapter explains blameless postmortems, review and sharing. The Site Reliability Workbook (2018) adds example error-budget and postmortem documents.
- PagerDuty publishes its internal incident response process as open documentation (response.pagerduty.com), including IC training material, severity definitions and role checklists. Many companies use it as a starting point.
- Etsy popularised blameless postmortems in software through John Allspaw's 2012 post, and built and open-sourced Morgue, a tool for writing and archiving postmortems.
- Atlassian publishes an Incident Management Handbook describing its severity levels, roles, communication practice and postmortem process.
- Netflix open-sourced Dispatch (2020), its incident management orchestration tool. It automates creating channels, documents and tasks, and assigning roles. Netflix's "you build it, you run it" model means product teams carry their own pagers.
- Monzo (a UK bank) open-sourced Response, a Slack-based incident management tool.
- Cloud and infrastructure providers (AWS, Google Cloud, Microsoft Azure, Cloudflare, GitHub) publish post-incident reports for major events. Cloudflare's are notably detailed and technical.
- The Learning from Incidents community (learningfromincidents.io) and the VOID report series publish research and practitioner writing on incident analysis grounded in safety science.
Case studies that use this pattern#
- Design a Metrics Monitoring and Alerting System: the alerting pipeline, routing and paging that incident response starts from.
- Design a Payment System: severity defined by money at risk, reconciliation after incidents, and regulatory reporting.
- Design a Notification System: the fan-out machinery that delivers pages and status updates, and its own failure modes.
- Design a Stock Trading Platform (Robinhood / Exchange): kill switches, market halts and incident response where seconds cost money.
In the Interview#
Common follow-ups:
- "Your service starts throwing 5% errors right after a deploy. What do you do?" Roll back first (reversible, fast), confirm recovery on the SLI, then investigate the change. Declare an incident if users were affected, and update the status page if it was visible.
- "How do you avoid alert fatigue?" Page only on user-facing symptoms and imminent failures. Use multiwindow burn-rate alerts instead of static thresholds, group and deduplicate, review every page weekly, and delete non-actionable alerts.
- "What's the difference between root cause and contributing factors?" Complex failures need several conditions at once (a latent bug, a trigger, missing defences, slow detection). Fixing only the trigger leaves the other holes open.
- "How would you measure whether incident response is improving?" SLO attainment and error-budget consumption first. Then the distribution (not the mean) of detection and mitigation times, the actionable-page ratio, action-item completion rates and repeat incidents.
- "What should be in a postmortem?" Summary, impact, timeline, detection, response, contributing factors, what went well, where we got lucky, and owned, prioritised action items.
- "What happens when the error budget is exhausted?" Whatever the pre-agreed policy says. Typically a feature freeze except for reliability and security fixes until the SLO is met again, and mandatory postmortems for large budget consumers.
Deep Dive: Detection Engineering with Burn-Rate AlertsShow
Detection is the first, and often the longest, part of an incident. Alerting design is a trade-off among four properties, which the Site Reliability Workbook's "Alerting on SLOs" chapter names explicitly:
- Precision: the fraction of alerts that correspond to real, significant events. Low precision means pager noise.
- Recall: the fraction of significant events that trigger an alert. Low recall means missed incidents.
- Detection time: how long after impact starts the alert fires.
- Reset time: how long the alert keeps firing after the problem is fixed. Long reset times cause confusion and duplicate pages.
Static thresholds ("page if error rate > 1% for 5 minutes") do badly on all four. They page on brief blips that barely touch the error budget (poor precision), miss slow burns that eat the budget over days (poor recall), and need hand-tuning per service.
Burn rate reframes the question as how fast are we spending the error budget? A burn rate of 1 means you'll use exactly the whole budget by the end of the SLO window. A burn rate of 10 means you'll exhaust it in a tenth of the window. For a 99.9% SLO the budget is an error ratio of 0.001, so an observed error ratio of 0.0144 is a burn rate of 14.4.
The thresholds come from deciding what fraction of the budget is worth waking someone for, over what time. If spending 2% of a 30-day budget within 1 hour should page, the burn rate that does that is:
burn rate = (fraction of budget × SLO window) / alert window = (0.02 × 720 h) / 1 h = 14.4
Similarly, 5% in 6 hours gives (0.05 × 720) / 6 = 6, and 10% in 3 days gives (0.10 × 720) / 72 = 1. Hence the commonly used pairs:
| Severity | Budget consumed | Long window | Short window | Burn-rate threshold |
|---|---|---|---|---|
| Page | 2% | 1 hour | 5 minutes | 14.4 |
| Page | 5% | 6 hours | 30 minutes | 6 |
| Ticket | 10% | 3 days | 6 hours | 1 |
Why two windows? A 1-hour window gives good precision: a 30-second blip can't push the hourly average over 1.44%. But it also gives a long reset time: after you fix the problem, the 1-hour average stays high for up to an hour. Adding a short window (5 minutes, about 1/12 of the long window) as an AND condition means the alert stops as soon as the recent error rate is back to normal, while still requiring sustained burn over the long window to fire.
Detection time depends on severity of the failure. With the fast rule (1-hour window, threshold 1.44% error ratio), the time to fire for a sudden, constant error ratio e is roughly 60 minutes × 0.0144 / e:
| Error ratio | Fast rule fires after | Slow rule (6 h, 0.6%) fires after |
|---|---|---|
| 100% (total outage) | about 52 seconds | about 2 minutes |
| 10% | about 9 minutes | about 22 minutes |
| 5% | about 17 minutes | about 43 minutes |
| 1% | never (below 1.44%) | about 3.6 hours |
Severe failures are detected in about a minute. Minor ones are detected more slowly but still well before they threaten the monthly SLO, and a 1% error ratio that never fires the fast rule still spends the budget at 10× and is caught by the slow rule. This is exactly the behaviour you want: urgency proportional to impact.
Low-traffic services break the maths. With 10 requests per minute, two failures in a 5-minute window is a 4% error ratio, a burn rate of 40, from what may be random noise. Options:
- Generate synthetic traffic (probes) so the denominator is large enough.
- Aggregate related low-traffic endpoints or services into one SLO.
- Use longer windows or minimum request counts in the alert expression (
and sum(rate(requests[1h])) > 1). - Accept that some services are better monitored by synthetic checks than by ratio-based SLO alerts.
Alert routing and deduplication. Once alerts fire, routing determines MTTA. Group alerts by service and failure domain so one incident produces one page. Attach the runbook and dashboard to the alert. Use inhibition rules: if the whole region is down, suppress the hundreds of per-service alerts it causes. Without grouping, a large outage pages every team at once, each starts its own investigation, and coordination is lost from the first minute.
Detecting what SLOs miss. SLO alerts catch user-facing degradation of the journeys you've defined. They miss:
- Silent data corruption: requests succeed but write wrong data. Detect with data-quality checks, reconciliation jobs and invariants (ledger balances sum to zero, inventory never goes negative).
- Failures of non-request work: batch jobs, queues and pipelines. Alert on freshness and queue age ("the most recent successful run was more than 2 hours ago"), not just errors.
- Problems in journeys you didn't instrument. Periodically compare support-ticket categories against alert coverage: every class of incident that customers report first is a detection gap.
Deep Dive: Safety Science Behind Blameless PostmortemsShow
Blameless postmortems in software rest on decades of research from aviation, medicine, nuclear power and other high-risk fields. Knowing that research makes incident analysis far more useful than a template alone.
Hindsight bias and outcome bias. Once you know how an incident ended, the path to it looks obvious: "the warning was right there in the logs". But at the time, that log line was one of thousands, and nothing marked it as important. Hindsight bias makes past events seem more predictable than they were. Outcome bias makes us judge decisions by their results: the same risky shortcut is called "pragmatic" when it works and "reckless" when it causes an outage. Good investigators deliberately reconstruct what responders knew, saw and believed at each moment, without using knowledge of the outcome.
Local rationality. People do what makes sense to them given their goals, knowledge and focus of attention at the time. Nobody comes to work intending to cause an outage. So the investigative question is: why did this action make sense to them? The answers (ambiguous dashboards, conflicting goals, time pressure, a convention that usually works) are the system's real weaknesses. Sidney Dekker's The Field Guide to Understanding Human Error (first edition 2002, later editions since) develops this view, and contrasts the "old view" (human error is the cause of trouble) with the "new view" (human error is a symptom of trouble deeper inside the system).
Second stories. David Woods and Richard Cook described the "first story" of an accident as the simple one: someone made an error. The "second story" explains the pressures, tools and conditions that made the error likely, and it's where the useful fixes are (Woods and Cook, Nine Steps to Move Forward from Error, Cognition, Technology & Work, 2002). A postmortem that stops at the first story produces action items like "be more careful". One that finds the second story produces action items like "the destructive command now requires the cluster name to be typed and shows what will be deleted".
Safety-I and Safety-II. Erik Hollnagel distinguished two views of safety. Safety-I defines safety as the absence of failures, and studies failures to remove their causes. Safety-II defines safety as the ability to succeed under varying conditions, and also studies why things usually go right: the adaptations, workarounds and expertise that keep a messy system running. For software teams, Safety-II suggests also analysing near-misses and "boring" successful operations (how did the team handle the 10× traffic event that didn't become an incident?), and being careful not to remove the human flexibility that quietly prevents failures every day.
Normalisation of deviance and drift. Sociologist Diane Vaughan's study of the 1986 Challenger disaster (The Challenger Launch Decision, 1996) introduced normalisation of deviance: small departures from safe practice that cause no immediate harm gradually become the accepted norm. In software, these are the flaky test everyone reruns, the alert everyone ignores, the manual production change "we always do this way". Dekker's Drift into Failure (2011) extends the idea: organisations slide toward the edge of safety through locally reasonable decisions under pressure, with no single bad decision. Postmortems should look for these drifts, not just the final trigger.
The ironies of automation. Lisanne Bainbridge's 1983 paper Ironies of Automation (Automatica) observed that automating routine work leaves humans with the hardest tasks (handling the rare situations the automation can't) while depriving them of the practice that would keep their skills sharp. Software operations see this constantly. Self-healing automation handles 99% of failures, so when it fails, the on-call engineer has never done the manual procedure. Automation can also act at machine speed in the wrong direction (an autoscaler, a failover controller or a cleanup job doing exactly what it was told during an unusual condition). Postmortems should ask whether automation helped, hindered or hid information, and practice drills should keep manual skills alive.
Systems-theoretic analysis. Nancy Leveson's Engineering a Safer World (MIT Press, 2011) proposes STAMP, a model that treats safety as a control problem: accidents happen when the control structure (people, processes, automated controllers, feedback loops) fails to enforce safety constraints. Its incident analysis method, CAST, asks for each controller (an engineer, a deploy system, a review process): what was its model of the system? What feedback did it have? Why were its control actions inadequate? This works well for software incidents involving automation and multiple teams, because it avoids blaming whichever component acted last.
Just culture. Dekker's Just Culture (2007) addresses a hard question: if we don't blame, how do we handle genuinely unacceptable behaviour? A just culture distinguishes honest mistakes and at-risk behaviour (which the system should be redesigned to handle) from reckless disregard (which is rare, and handled through normal management). Most importantly, it asks who gets to draw that line and by what process, so that engineers can trust that an honest account won't be used against them.
Practical techniques that follow from this research:
- Interview before writing. Talk to each key responder individually, soon after the incident. Ask open questions ("What were you looking at? What did you expect to happen? What made you choose that?") rather than leading ones ("Why didn't you check X?").
- Build the timeline from multiple sources: chat logs, deploy logs, metrics, alert history and interviews. Note where people's beliefs diverged from reality and why.
- Look for the gaps between work-as-imagined and work-as-done. The runbook says one thing; what people actually do under time pressure is another. The gap is information, not a violation to punish.
- Separate the learning review from action-item planning. If the meeting rushes to fixes, the analysis stays shallow. Some teams hold the analysis discussion first and agree action items in a short follow-up.
- Measure postmortem quality, not just count: does it explain why actions made sense? Does it find detection and response factors? Are action items systemic?
Deep Dive: The Statistics of Incident Metrics and Coordinating Major IncidentsShow
Why MTTR is a weak metric. Suppose a team has about 20 incidents per quarter, and their durations follow a long-tailed (roughly log-normal) distribution, which is what real incident data tends to show. Most incidents last 15–60 minutes, but a few last 5–10 hours. The quarterly mean is dominated by those few long incidents. Whether the quarter happens to contain one 10-hour incident or none can move MTTR by a factor of two, regardless of any change in how well the team responds.
Štěpán Davidovič's O'Reilly report Incident Metrics in SRE: Critically Evaluating MTTR and Friends (2021) tested this with Monte Carlo simulation. It drew two sets of incidents from the same distribution, applied a real improvement (for example, shortening every incident by 10%) to one, and checked how often the measured MTTR showed the improvement. With realistic incident counts, the noise usually swamped the effect: the "improved" set often had the worse MTTR. The VOID reports, analysing thousands of public incident reports, similarly found heavily skewed duration distributions, and argued that averages like MTTR don't capture reliability or response quality.
What to use instead:
- SLO attainment and error-budget consumption, which measure the user experience directly and include partial degradation.
- Distributions, not means: median and 90th-percentile time to mitigate, plotted over many quarters, with the individual incidents visible.
- Per-incident analysis: for each significant incident, was detection fast relative to its impact? Was there a known mitigation? What delayed it?
- Leading indicators of response capability: runbook coverage for paging alerts, rollback time measured in drills, the actionable-page percentage, and the time since the last regional drain drill.
- Impact-weighted totals: user-minutes of impact, failed requests or revenue at risk per quarter. These combine frequency, duration and breadth.
The availability arithmetic still guides investment. Availability ≈ MTBF / (MTBF + MTTR) shows the two levers. A service with one incident per month (MTBF ≈ 720 h) at 2 hours each is at 99.72%. Halving incident duration to 1 hour gives 99.86%. Halving the frequency to one every two months at 2 hours gives the same 99.86%. Which lever is cheaper depends on the failure profile:
- If most incidents are caused by changes, investing in canaries and fast rollback cuts both frequency and duration.
- If most are dependency failures, investing in graceful degradation cuts impact.
- If detection takes most of the time, investing in alerting gives the best return.
The postmortem archive, categorised by trigger and by which phase took longest, tells you which case you're in.
Coordinating major incidents. Most incident guidance assumes one service and one team. The hardest incidents involve dozens of teams, multiple days, and failures in shared infrastructure (identity, networking, DNS, the deploy system, a cloud region). Practices that large organisations converge on:
- A hierarchy of command. One overall IC, with workstream leads for each technical thread (for example: restore the database, rebuild the cache, reconcile payments, communications). Each workstream has its own channel, reporting to the IC on a fixed schedule. The span-of-control principle (about 3–7 direct reports) applies at each level.
- A recovery plan with explicit ordering. Shared infrastructure must come back in dependency order: networking, then identity and secrets, then service discovery, then databases, then stateless services, then caches warming. Bringing everything back at once causes thundering-herd overloads. Throttled restart, gradual traffic ramp-up and cache pre-warming should be planned, not improvised.
- Shifts and continuity. For incidents longer than about 12 hours, assign every role in shifts with formal handovers ("current state, open workstreams, decisions pending, next update due"), and send people home to sleep. The live incident document is what makes handovers possible.
- Communication at scale. Executive briefings on a fixed cadence (separate from the working channels), a single approved external message updated regularly, direct outreach to the largest affected customers, and coordination with legal for regulatory notifications or SLA implications.
- Break-glass access. Emergency credentials, out-of-band network access, and tooling that works when the main identity provider, VPN or chat system is down. Test these regularly; the Facebook 2021 outage showed how much recovery depends on them. See Secure Access: VPN, SSH, Bastions and MFA.
- Pre-planned degraded modes. A documented "minimum viable service" that the organisation agrees to restore first (for example, "users can log in and view balances; transfers can wait") turns an overwhelming recovery into a sequence of achievable steps.
- When the provider is down. If the failure is in a cloud provider or SaaS dependency, your incident is about your own mitigations: fail over to another region or provider if you planned for it, degrade gracefully, and communicate. Open a high-severity support case early, track the provider's status page, and don't wait passively.
Practising incident response. Like any skill, incident response degrades without practice. Effective forms:
- Tabletop exercises: a facilitator walks a team through a hypothetical scenario on paper, asking "what do you do now?" They are cheap, and good for testing roles, comms and decision-making.
- Game days: inject real failures in staging or production (with safeguards) and run the incident process for real, including declaring, paging, comms and a postmortem.
- Chaos engineering: continuous, automated failure injection (Netflix's Chaos Monkey and its successors), which keeps both systems and responders accustomed to failure; see Designing for High Availability.
- DR drills: full regional failover or backup restore at production scale, the only way to know recovery time for real.
- Wheel of misfortune: a Google SRE training practice described in the SRE book, where a past incident is replayed as a role-play for a trainee on-call engineer, with a game master revealing what the system shows in response to each action.
Key Takeaways#
- Incidents are inevitable. What you control is how fast they're detected, how well the response is coordinated, how quickly user impact is stopped, and how much the organisation learns.
- Page on user-facing symptoms (SLO burn rates, synthetic probes), ticket on causes, and keep every page urgent, actionable and linked to a runbook. Alert fatigue is a reliability risk.
- Sustainable on-call: rotations with escalation, ownership by the team that builds the service, limits on page load, and engineering time to reduce toil.
- Severity levels are defined by impact and decide the response: who's paged, update cadence, comms and postmortem requirements. When in doubt, go higher, and declare early.
- Separate roles: the Incident Commander coordinates and decides, the Comms lead informs, and the Ops lead and responders fix. The IC doesn't debug.
- Mitigate first, then fix: roll back, disable flags, fail over, shed load. Prefer reversible actions, one change at a time, and timebox investigations.
- Communicate early and regularly, in plain language, on a status page that doesn't share fate with production.
- Blameless postmortems ask why actions made sense at the time and find contributing factors across trigger, defences, detection, response and organisation. A single "root cause" is rarely the whole story.
- Action items must be specific, owned, prioritised, tracked and verified. Follow-through is where most organisations fail.
- MTTD, MTTA and MTTR help diagnose the response, but their means are noisy and gameable. Prefer SLO attainment, distributions and per-incident analysis.
- Error-budget policies, agreed in advance, turn reliability into a shared priority rule instead of a negotiation during a crisis.
- Read public postmortems: the same patterns repeat (unstaged config pushes, unbounded commands, untested recovery, circular dependencies, self-protection that amplifies). Check your own systems for each.