An incident is expensive. A postmortem is how you get something back for it: a better system, and a team that knows more than it did yesterday. Done badly, it becomes a hunt for someone to blame, and people learn to hide mistakes. Done well, it is the cheapest reliability work you will ever do.
What "blameless" really means
Blameless does not mean nobody is responsible. It means you assume people made reasonable decisions with the information they had, and you ask why the system let a reasonable decision cause an outage.
"Sam ran the wrong migration" leads nowhere. "The migration tool ran against production without a confirmation, and staging had a different schema" leads to two fixes.
When to write one
Write a postmortem for any incident that:
- affected customers for more than a few minutes;
- needed someone to be woken up or pulled off other work;
- lost or corrupted data;
- was a near miss you got lucky with.
Write it within five working days, while memories are fresh.
The sections that matter
Summary
Two or three sentences a manager can read: what broke, for how long, who was affected, and that it is fixed.
Impact
Numbers, not adjectives: checkout failed for 23% of visitors for 41 minutes; 312 orders could not be placed.
Timeline
Times in one timezone, from the first sign to full recovery. Include detection (when did we know?), response (when did someone start?) and mitigation (when did customers stop being affected?). Your incident tool's timeline is the best starting point.
Root causes and contributing factors
Usually there is no single root cause. Ask "why?" several times and list everything that had to go wrong. Include factors that made it worse or longer: missing alerts, unclear runbooks, slow rollbacks.
What went well
Things to keep: the alert fired in a minute, the rollback worked, the status page was updated early.
Action items
Each one specific, with an owner and a due date. Prefer fixes that make the mistake impossible over fixes that ask people to be more careful.
The template
# Postmortem: <short title> (<date>)
## Summary
<2-3 sentences>
## Impact
- Duration: <start> to <end> (<minutes>)
- Who was affected: <customers / % of requests / regions>
- Data loss: <none / details>
## Timeline (UTC)
- 14:02 First failed check on checkout API
- 14:04 Alert in #payments; incident opened automatically
- 14:09 On-call acknowledges, starts investigating
- 14:21 Cause identified: connection pool exhausted after deploy 2.5.0
- 14:26 Rollback to 2.4.0; error rate back to normal
- 14:43 Incident resolved after 15 minutes of stable metrics
## Root causes and contributing factors
1. ...
2. ...
## What went well
- ...
## What went badly
- ...
## Action items
| Action | Owner | Due |
|---|---|---|
| Add an alert on connection pool usage above 80% | Payments | <date> |
| Make the pool size a reviewed config value | Platform | <date> |
Making it stick
- Share it widely. Other teams learn the most from your incidents.
- Track action items like any other work, and review open ones every month.
- Look for patterns. Three incidents caused by config changes in a quarter is a message.
Measure whether it is working
Track MTTA (time to acknowledge) and MTTR (time to recover) per quarter. If postmortems are working, both should fall, and repeat incidents should become rare. See MTTR, MTTA and MTBF explained.
In VitalRix, every incident keeps an automatic timeline (failure, alert, acknowledgement, status changes, recovery) with links to the logs and traces from the incident window, which gives you most of the timeline section for free.
Running the review meeting
A postmortem document works best with a short meeting, 30 to 45 minutes:
- Before: the incident lead fills in the timeline and impact from the incident tool and chat history.
- Start by restating the blameless rule: we are here to improve the system.
- Walk the timeline. Ask "what did you know at this point?" rather than "why did you do that?".
- Find contributing factors together, including the ones that made recovery slow.
- Agree action items, each with one owner and a date, before the meeting ends.
Invite the people involved, the owners of the affected systems, and someone from support who heard from customers.
Questions that uncover the real causes
- How did we find out: an alert, a customer, luck?
- What would have shown the problem earlier?
- What made the fix take as long as it did?
- Has anything similar happened before? What did we decide then?
- What would stop this whole category of problem, not just this instance?
Severity levels
Agree on levels so everyone knows which incidents need a postmortem:
| Level | Example | Postmortem |
|---|---|---|
| SEV1 | Main product down for all customers | Always, within 3 days |
| SEV2 | A key feature broken for many customers | Always, within 5 days |
| SEV3 | Minor feature degraded, workaround exists | Short write-up |
What is a blameless postmortem?
A review of an incident that assumes people acted reasonably and focuses on how the system allowed the failure, so people share what really happened.
When should a postmortem be written?
Within about five working days of any incident that affected customers, needed people to be woken up, lost data, or was a near miss.
What makes a good action item?
It is specific, has an owner and a due date, and prefers changes that make the mistake impossible over reminders to be careful.
Try VitalRix free
Uptime monitoring, APM, logs, real user monitoring and status pages in one place. No credit card needed.