Skip to content
Tech Atlas, home
Search
Esc
  • All roadmapsBrowse every learning path
  • ExploreFind a technology area
  • ProjectsGuided projects and builds
  • My AtlasYour learning dashboard
Lesson 5 of 6 · Worked example · 20 min · revision 3

Writing the postmortem: from timeline to action items

Write a blameless postmortem: build the timeline from records, measure impact, detection and mitigation times, find contributing factors without blaming people, and turn each factor into an owned, dated action item.

Contentsand lesson path

What you will learn

  • Write a blameless postmortem with impact, timeline, contributing factors and owned, prioritized action items.

Prerequisites: Observability

01. Why postmortems are blameless

After an outage, the quickest conclusion is to find the engineer who typed the command or merged the change, and blame them. The Google SRE book notes that blameless culture "originated in the healthcare and avionics industries where mistakes can be fatal". Those fields learned that blaming individuals makes a system less safe, not more.

A blameless postmortem starts from one rule: human error is where the investigation starts, not where it ends. A mistake usually points to a gap in the tools, checks or information the person had. Skilled, careful engineers make mistakes when a tool has no validation, an interface is confusing or a pipeline does not catch a regression.

If people are punished for outages, they respond in a predictable way: they hide mistakes, declare incidents late and avoid risky but useful changes. When incidents are treated as chances to learn, people describe what really happened, and the team can add the checks and guardrails that stop a repeat.

Sidney Dekker, a human-factors and safety researcher whose work covers aviation and healthcare, describes the person at the keyboard as often a "second victim" of the incident: someone dealing with stress and guilt, not a culprit. A team that supports that person and examines the system around them learns much more from the incident.

02. Worked example: from timeline to action items

A postmortem has four sections:

  1. User and business impact: what users and the business lost, with start, end and size (for example "From 09:41 to 09:59 UTC, up to 28% of sign-in attempts failed, affecting about 9,400 users"). Impact runs from when users were first affected to when they stopped being affected, not from the alert to the moment the incident channel closed. State time to detect and time to mitigate separately.
  2. Timeline: key events in Coordinated Universal Time (UTC), from the change that started it through the alert, the hypotheses, the mitigation and the recovery.
  3. Contributing factors: the conditions that together made the outage possible. Major outages usually involve several weaknesses lining up at the same time, which the Swiss cheese model pictures: each layer of defence has holes, and harm gets through only when the holes line up.
  4. Action items: owned, prioritised and dated changes that make a repeat less likely or less harmful.

The task. On 2026-10-14, release v3.2.0 of auth-api, the service behind sign-in, went out at 09:41 UTC and sign-ins started failing. The incident is over. Below, the postmortem is built in four steps from the raw records.

Step 1: collect the timeline from records, not memory. Take the deploy log, the alert history and the incident channel, convert every time to UTC and put the events in order. Memories of an incident drift within hours; records do not.

Text · raw events from the deploy log, alert history and #inc-20261014-auth
09:41:12  deploy log    auth-api v3.2.0 rolled out to 100% of prod
09:45:03  alerting      AuthHighErrorRate firing (error rate > 5%)
09:48     channel       Alex: declaring P1, I am IC. Ops: Casey. Comms: Morgan.
09:52     channel       Casey: DB logs show "connection pool exhausted" (auth-api)
09:53     channel       Casey: v3.2.0 config sets pool size 5 (was 50)
09:55     channel       Alex: approved, roll back to v3.1.4
09:59:40  deploy log    rollback to v3.1.4 complete; error rate 27.9% -> 0.03%
10:07     channel       Alex: two clean checks, declaring recovery
10:30     channel       Scribe: timeline final, closing the channel

Step 2: mark four moments and compute the durations. Users failed from the first request served by v3.2.0, so the impact starts at the deploy, not at the alert. The incident is mitigated when the rollback completes, and recovered when the IC confirms it. The channel closing at 10:30 is housekeeping and ends neither.

Text · the four moments and the durations derived from them
impact start  09:41  first requests served by v3.2.0 fail
detected      09:45  alert fires        TTD = 09:45 - 09:41 = 4 min
mitigated     09:59  rollback complete  TTM = 09:59 - 09:41 = 18 min
recovered     10:07  IC declares recovery after two clean checks
impact: 09:41 to 09:59 (18 min), up to 28% of sign-ins failed, ~9,400 users

Step 3: ask two questions at each step of the timeline. For each event, ask "what made this possible?". For each gap between events, ask "why did this take as long as it did?". Every answer that names a condition in the system, rather than a person, is a contributing factor. A step that went well is worth noting too, so that nobody removes what worked.

Text · questions asked of the timeline, and the factors they found
09:41 v3.2.0 ships with a pool of 5
  what made this possible?  CI mocks the database, so pool limits are never tested
09:41 every user hits the new version at once
  what made this possible?  no canary stage: releases go to 100% of traffic
09:45 -> 09:52 seven minutes to find the pool
  why so long?              pool wait time is not on the auth-api dashboard
09:55 -> 09:59 rollback
  why so long?              it was not: the rollback command is tested (keep it)

Step 4: turn each factor into one action item. Each item adds a barrier or shortens a delay, and has an owner, a priority and a due date. Check each one with the question "how will we know it is done?". If there is no clear answer, the item is too vague. Notice that "be more careful when changing pool sizes" answers none of the three factors that step 3 found. The finished postmortem below puts the four steps together. It lists four contributing factors but only three action items: factor 1, the pool size of 5, is the trigger, and the rollback already undid it. The other three are the conditions that let the trigger reach users, and each gets one item.

Markdown · postmortems/2026-10-14-auth-api-sign-in-failures.md blameless postmortem
# Postmortem: 2026-10-14 auth-api sign-in failures (P1)

## Summary and impact
* **User impact window:** 18 minutes (09:41 deploy to 09:59 rollback complete)
* **User impact:** up to 28% of sign-in attempts failed with HTTP 500.
* **Business impact:** ~9,400 users could not sign in; 310 support tickets.
* **Time to detect:** 4 min | **Time to mitigate:** 18 min | **Closed:** 10:30
* **Incident Commander:** Alex | **Ops Lead:** Casey | **Comms:** Morgan

## Timeline (all times UTC)
* **09:41** - Deploy pipeline rolls out auth-api v3.2.0 to 100% of prod.
* **09:45** - Alert AuthHighErrorRate fires (error rate > 5%).
* **09:48** - IC declares P1; responders gather in #inc-20261014-auth.
* **09:52** - Ops Lead finds connection pool exhaustion in database logs.
* **09:55** - IC approves mitigation: roll back auth-api to v3.1.4.
* **09:59** - Rollback completes; error rate drops from 27.9% to 0.03%.
* **10:07** - Two clean checks; IC declares recovery.
* **10:30** - Scribe finalises the timeline and closes the incident channel.

## Contributing factors
1. v3.2.0 reduced the database connection pool from 50 to 5.
2. CI mocks the database driver, so no test exercises pool limits.
3. Releases go to 100% of traffic at once; there is no canary stage.
4. Pool wait time is not on the auth-api dashboard (7 minutes to diagnose).

## Action items
| Action item | Owner | Priority | Due | Done when |
|---|---|---|---|---|
| CI test: 200 concurrent sign-ins on a real DB | Linh | P1 | Oct 28 | runs in CI |
| Canary 5% for 15 min with auto-rollback | Casey | P1 | Nov 11 | in pipeline |
| Pool wait p99 panel and ticket alert > 100 ms | Alex | P2 | Oct 24 | on dashboard |

03. Beyond a single root cause

Searching for one "root cause" tends to stop at the first answer. "The root cause was a full disk" or "the root cause was a typo in YAML" says what broke, not why the system allowed it.

Ask the next questions. Why did the logs fill the disk? Because log rotation was never set up on the new hosts. Why did nobody notice for three days? Because nothing alerted on disk growth. Why did a full disk stop the whole service, and not only its logging? Because the application could not start without writing a log file. Each answer is a place for a fix, and fixing several of them gives you independent layers of defence that make a repeat much less likely and quicker to catch.

Richard Cook, a physician who studied safety in complex systems, made the same point in his short paper "How Complex Systems Fail": catastrophe requires multiple failures, because single failures are usually caught by the system's many defences. Customer-visible outages happen when several defences are weak at the same time.

Which incidents get a postmortem. Agree the triggers in advance, so that writing one is routine and not a sign that someone is in trouble. The Google SRE book lists common triggers: user-visible downtime or degradation beyond a threshold, data loss of any kind, an on-call intervention such as a rollback or rerouting traffic, a resolution time above a threshold, and a monitoring failure, which usually means that a person found the incident instead of an alert. Also review near misses: incidents where serious harm was avoided by luck or by one person's extra effort. They show weak defences before customers are hurt.

Making the postmortem change something. Two habits help:

  • A review meeting. Within a few days of the incident, walk through the timeline with the developers, product owners and SREs involved. Challenge the contributing factors, and check that each action item removes a cause rather than a symptom.
  • Action items get scheduled. A postmortem whose action items sit in the backlog has not changed the system. Put P1 action items into the next sprint, ahead of new features, and review the open items weekly until they are closed. Closed action items are the clearest evidence that the team has learned from the incident.

04. Check your understanding

Practice check · 3 questions

Detection time, postmortem scope and follow-through

Three questions on the postmortem example and on what happens to its action items.

Q1. In the example postmortem, the deploy went out at 09:41, the alert fired at 09:45, the rollback completed at 09:59 and the channel closed at 10:30. What was the time to detect?
Q2. Which incidents should get a written postmortem?
Q3. Three months after an outage, its postmortem is published, but most of its P1 action items are still open in the backlog. What does the lesson say should happen?
Practice only: not graded, not saved, not evidence.

05. Apply it

Write a one-page postmortem for a drill. This takes about 30 minutes. Use the timeline you made in the game-day lab; if you have not run it, use the example timeline for scenario card A in that lab.

  1. Write the impact statement: start, end, share of failed checkouts, TTD and TTM, with impact counted from the moment the fault started.
  2. Copy the timeline in UTC, and add the moments that matter: impact start, detection, mitigation and recovery.
  3. Ask "what made this possible?" of each event and "why did this take as long as it did?" of each gap. Write at least two contributing factors, each a condition in the system and not a person (for example "the monitor needs two bad windows before it alerts").
  4. Write two or three action items, each with an owner, a priority, a due date and a "done when" check. Delete any item that only asks people to be careful.

Produce: postmortems/<date>-gameday.md with the four sections. Then reread each action item and name the factor it addresses; an item that addresses none should go.

06. Review prompt

Without looking back: why does blaming the person at the keyboard make a system less reliable? Name the four sections of a postmortem. Starting from a timeline, how do you find the contributing factors, and what makes an action item good? Which events should trigger a postmortem, and why include near misses?

References

Your progress

Reading state

Sign in to save that you finished reading this lesson.

Sign in to mark reading complete

Prove this skill

8 questions · about 6 minutes · scored automatically. Marking a lesson as read never demonstrates a skill.
Take the skill check