Root cause analysis (RCA) for incidents
Root cause analysis (RCA) is the process of finding every contributing cause of an incident, not only the trigger, so that preventive actions fix the system. In operations it is usually written up in a blameless postmortem.
- Look for all contributing causes, not just the last event before the failure.
- A postmortem records impact, mitigation, root causes and follow-up actions.
- Blameless means fixing systems and processes, not assigning fault to people.
What does an RCA look like for an expired certificate?
| Level | Finding |
|---|---|
| Impact | Shop unreachable over HTTPS for 40 minutes |
| Trigger | The TLS certificate expired at midnight |
| Contributing cause | Renewal reminders went to a mailbox nobody read |
| Contributing cause | No external check alerted before expiry |
| Root cause | Nobody owned certificate renewal |
| Action | Name an owner, route reminders to a team address, alert 30 days before expiry |
When should you run a postmortem?
- User-visible downtime or degradation beyond a set threshold
- Any data loss
- On-call intervention such as a rollback or rerouting traffic
- Resolution time above a set threshold
- A monitoring failure that led to manual discovery of the problem
How is a postmortem structured?
- 01
Document the incident and impact
Timeline, who was affected and for how long.
- 02
Record mitigation and resolution
What was done to restore service and what worked.
- 03
Find the contributing causes
Ask why repeatedly until you reach causes you can fix. Google leaves the technique to each team.
- 04
Assign follow-up actions
Concrete, owned tasks that prevent recurrence, reviewed until done.
Common questions
What is the difference between a trigger and a root cause?
The trigger is the event that set off the incident, such as a certificate expiring. Root causes are the underlying conditions that let the trigger become an outage, such as no owner and no alert. Fixing only the trigger invites a repeat.
What does blameless mean?
A blameless postmortem assumes people acted in good faith with the information they had and focuses on contributing causes. Google SRE notes that you cannot fix people but you can fix systems and processes, and that blame discourages people from surfacing problems.
What is the five whys method?
Five whys asks why repeatedly, usually around five times, moving from the symptom to a cause you can change. It is one technique among several. Google SRE does not prescribe a single method, so teams choose what fits their services.
Keep reading
Watch your domains automatically
Aepto monitors expiry, DNS, SSL and uptime for every domain you own and alerts you when something changes. Free for 3 domains.