Writing

Writing a postmortem that actually changes something

/9 min read/Reliability/#sre/#on-call/#incident-response/#postmortem

An incident ends when the service recovers. The work that stops the next one starts afterwards, and the postmortem is where that work gets written down.

A postmortem that nobody reads, or whose action items never get done, is paperwork. This post is about writing one that leads to a change in the system.

1. What a postmortem is for

A postmortem has three jobs:

  • Record what happened, accurately, while people still remember it.
  • Explain why it was possible, in terms of the system, not the people.
  • Produce changes that make the same failure less likely, faster to detect or cheaper when it happens.

The third job is the one that matters. The first two exist to support it.

2. Blameless framing

People make decisions with the information, tools and time pressure they had at that moment. A blameless postmortem asks why those decisions made sense at the time, and what about the system let a reasonable decision cause harm.

This is not about being nice. It is about getting accurate information. If engineers expect to be blamed, they leave details out, and the postmortem describes a tidier incident than the one that happened.

In practice:

  • Describe actions, not character. “The config change was applied to all regions at once”, not “the engineer was careless”.
  • Ask “what made this easy to get wrong?” instead of “who did this?”.
  • Treat a human error as the start of the investigation, not the conclusion.

Blameless does not mean nobody is accountable. People are accountable for the action items they own.

3. When to write one

Agree on the criteria in advance, so writing a postmortem is routine and not a punishment. Common triggers:

  • User-visible impact above an agreed threshold: downtime, errors, or degraded latency.
  • Any data loss or data corruption.
  • Manual intervention needed, such as a rollback, failover or traffic shift.
  • Resolution took longer than an agreed limit.
  • A monitoring failure, where users or another team found the problem before your alerts did.
  • A near miss that could easily have been one of the above.

Anyone involved should be able to ask for a postmortem. If in doubt, write a short one.

4. Summary

Two to four sentences at the top. What broke, for how long, who was affected, and the main fix. Many readers will stop here, so it has to stand alone.

5. Impact

Be specific and use measurements where you have them:

  • Who was affected: which users, customers, internal teams or downstream services.
  • What they experienced: errors, slow responses, missing or wrong data.
  • How long: start and end of user impact, not just start and end of the response.
  • How much: error rate, requests failed, error budget consumed, or other numbers your monitoring can back up.

If a number is an estimate, say so and say how it was estimated.

6. Timeline

Pick one timezone and use it for every entry. State it at the top. Mixing local time, UTC and log timestamps is a reliable way to get the order of events wrong.

Each entry needs a timestamp and a fact: what happened, what was observed, what was decided, what was done. Include the moments that matter for analysis:

  • When the triggering change or event happened.
  • When impact started.
  • When it was detected, and how.
  • When the incident was declared and who responded.
  • Each mitigation attempt, including the ones that did not work.
  • When impact ended, and when the incident was closed.

Build it from chat logs, deploy history, alert history and dashboards, not memory alone.

7. Detection

How was the problem found? An alert, a dashboard, a user report, or someone noticing by chance?

Then ask the harder questions. Did the alerts that should have fired actually fire? Did they page the right people? How long was it between impact starting and someone knowing? If detection was slow or came from users, that is a finding in its own right. Designing alerts that only fire when a human needs to act covers what a good page looks like.

8. Response

How did the response go once people were engaged?

  • Was there a runbook for this alert, and did it help? Was it accurate, or out of date?
  • Did responders have the access and tools they needed?
  • Was it clear who was leading and who was doing what?
  • Did any mitigation make things worse?

A runbook that was missing, wrong or hard to follow is a normal action item. Writing a runbook you can use at 3am goes through what to put in one.

9. Contributing factors, not a single root cause

Most incidents need several things to go wrong at once: a change, a missing check, a gap in monitoring, a default nobody revisited. Picking one “root cause” tends to stop the analysis at the most visible one, often the last human action.

List the contributing factors instead. For each, ask why it was possible and whether there is a change that would have stopped, caught or limited it. Asking “why” a few times helps, but follow every branch, not just one chain.

Look for factors in:

  • The change process: review, testing, rollout, rollback.
  • The system design: blast radius, dependencies, timeouts and retries.
  • Monitoring and alerting.
  • Documentation, runbooks and access.
  • Team context: time pressure, handovers, unclear ownership.

10. What went well

Record what worked: an alert that fired early, a rollback that was quick, a runbook that was right, someone who escalated at the right time. These are things to keep and to copy elsewhere. Leaving them out also makes the document read as a list of failures, which works against blameless framing.

11. Action items

This is the section that decides whether the postmortem was worth writing. Every action item needs:

  • A specific change, written so someone else could tell when it is done.
  • An owner, a named person, not a team.
  • A due date.
  • A ticket in the normal work tracker, so it competes for time with other work instead of living in a document.
  • A priority, so the important items happen first.

It helps to group them by what they do:

  • Prevent: stop this failure happening again. Validation, safer defaults, removing the failure mode.
  • Detect: find it faster. New or better alerts, better dashboards.
  • Mitigate: make it cheaper when it happens. Smaller blast radius, faster rollback, a better runbook, automation.

A good set usually has something in each category. Prevention alone assumes you found every way it can fail.

Keep the list short. A few items that get done are worth more than a long list that does not.

12. Lessons

A short section on what the incident taught you that goes beyond this one system. A pattern that probably exists elsewhere, an assumption that turned out wrong, a gap in process. This is the part other teams can learn from.

13. The review meeting

Hold a review within a few days, with the responders, the owners of the affected systems and anyone who will own action items.

  • Circulate the draft beforehand, so the meeting is spent on discussion and not reading.
  • Walk the timeline and check it is accurate.
  • Challenge the contributing factors: is anything missing?
  • Agree the action items, owners, dates and priorities.
  • Keep the blameless framing. Whoever runs the meeting should steer away from blame when it appears.

After the review, publish the postmortem where others can find and search it.

14. Follow-through

The postmortem is done when the action items are done, not when the document is published.

  • Review open postmortem actions regularly, for example in a weekly operations meeting.
  • Track how many are overdue. A growing number is a signal about priorities, not about the individual owners.
  • If an action item is deprioritised, record that decision and who made it.
  • When a similar incident happens, check whether earlier action items would have prevented it.

15. Common failure modes

  • Blame. The document names a person as the cause. People stop being candid, and the next postmortem is less accurate.
  • Vague actions. “Be more careful”, “improve monitoring”, “communicate better”. Nobody can tell when these are done, so they never are.
  • Action items never done. They live in the document, not in the tracker, and quietly expire.
  • Too long. Pages of narrative nobody reads. Keep the summary short and the detail in the timeline.
  • Written weeks later. Memory has faded, logs have rotated, and the people involved have moved on. Start the draft within a day or two.
  • Only the last step. The analysis stops at the final human action instead of asking why it was possible.

16. Template

# Postmortem: <short title>

Status: draft | in review | final
Date of incident: YYYY-MM-DD
Authors:
Timezone used in this document: <e.g. UTC>

## Summary
<2-4 sentences: what broke, how long, who was affected, main fix.>

## Impact
- Who was affected:
- What they experienced:
- Duration of user impact: <start> to <end>
- Measured impact: <error rate, failed requests, error budget used>

## Timeline
| Time | Event |
|------|-------|
| HH:MM | Triggering change/event |
| HH:MM | Impact starts |
| HH:MM | Detected (how) |
| HH:MM | Incident declared, responders |
| HH:MM | Mitigation attempt (result) |
| HH:MM | Impact ends |

## Detection
- How it was found:
- Did the expected alerts fire? Did they reach the right people?
- Time from impact to detection:

## Response
- Was there a runbook? Did it help?
- Access or tooling problems:
- What slowed the response:

## Contributing factors
- <factor>: why it was possible
- <factor>: why it was possible

## What went well
-

## Action items
| Action | Type (prevent/detect/mitigate) | Owner | Due | Ticket | Priority |
|--------|-------------------------------|-------|-----|--------|----------|
|        |                               |       |     |        |          |

## Lessons
-

17. Summary

Write the postmortem soon, keep it blameless, measure the impact, use one timezone, list contributing factors instead of a single root cause, and make every action item specific, owned, dated and tracked. Then follow up until they are done. That last step is the one that changes something.

References

  1. Google SRE book, Postmortem Culture: Learning from Failure.
  2. Google SRE workbook, Postmortem Culture.
  3. PagerDuty, Postmortems.
  4. PagerDuty Incident Response, Postmortem Process.