Incident metrics turn "we had a rough month" into something you can improve. The four most common ones all start with "mean time", and they are often confused.
The definitions
| Metric | Stands for | Measures |
|---|---|---|
| MTTD | Mean time to detect | From the start of a problem to the first alert |
| MTTA | Mean time to acknowledge | From the alert to a person taking ownership |
| MTTR | Mean time to recover (or resolve) | From the start of the incident to recovery |
| MTBF | Mean time between failures | The average time between incidents |
Be explicit about which "R" you mean. Recover (customers are fine again) and resolve (the cause is fixed) can be hours apart. For customer impact, time to recover is the one that matters.
How to calculate them
For a period, add up the durations and divide by the number of incidents:
MTTA = sum(acknowledged_at − alerted_at) / number of incidents
MTTR = sum(recovered_at − started_at) / number of incidents
MTBF = (total time − total downtime) / number of incidents
Example: four incidents in a month lasting 12, 30, 8 and 70 minutes give an MTTR of 30 minutes.
Watch out for averages
One long incident can dominate the mean. Report the median next to it, and always look at the list of incidents, not only the number.
Typical values
There are no universal targets, but for teams with on-call and good alerting:
- MTTA: under 5 minutes during on-call hours;
- MTTR for customer-facing incidents: under 60 minutes, often much less with quick rollbacks.
Compare yourself with your own last quarter, not with other companies.
How to improve each one
Detection (MTTD)
- Monitor what users experience: uptime checks, error rates, latency percentiles.
- Alert on symptoms ("checkout failing") rather than every possible cause.
Acknowledgement (MTTA)
- Route alerts to the owning team, not to everyone.
- Cut noise so real alerts stand out (see beating alert fatigue).
Recovery (MTTR)
- Make rollback a one-step, practised action.
- Use feature flags to switch off a broken feature without a deploy.
- Link alerts straight to the relevant logs, traces and recent deployments.
- Keep short runbooks for the top ten alerts.
Fewer failures (MTBF)
- Fix the action items from postmortems (how to write one).
- Add tests and gradual rollouts for the kinds of change that caused past incidents.
Do not game the numbers
Closing incidents early, acknowledging without acting, or splitting one incident into several all improve the metrics and nothing else. Use the metrics to start conversations, not to rank people.
VitalRix tracks open incidents, MTTR and MTTA automatically on the incidents page, with a timeline for every incident from first failure to recovery.
Example: one quarter of incidents
| Incident | Detected after | Acknowledged after | Recovered after |
|---|---|---|---|
| API errors after deploy | 2 min | 3 min | 18 min |
| Database disk full | 9 min | 4 min | 52 min |
| CDN misconfiguration | 21 min (customer report) | 6 min | 34 min |
| Expired certificate | 0 min (warned in advance, missed) | 45 min | 70 min |
- MTTD = 8 minutes, MTTA = 14.5 minutes, MTTR = 43.5 minutes.
- The median MTTA is only 5 minutes; one slow acknowledgement (a warning sent to an unwatched inbox) pulls the mean up.
The improvements that came out of this table were obvious once it was written down: route certificate warnings to the team channel, add an external check that would have caught the CDN problem before a customer did, and alert on disk usage before it is full.
Metrics for the whole picture
Pair the time metrics with:
- number of incidents by severity;
- customer minutes affected (duration × share of customers impacted);
- repeat incidents: the same cause twice is a sign action items are not being done.
What is the difference between MTTR and MTTA?
MTTA measures how long it takes someone to acknowledge an alert. MTTR measures how long it takes to recover from the incident.
How do you calculate MTTR?
Add up the time from the start of each incident to recovery, then divide by the number of incidents in the period.
What is a good MTTR?
It varies by system. Many teams aim for under an hour for customer-facing incidents and compare against their own previous quarter.
Try VitalRix free
Uptime monitoring, APM, logs, real user monitoring and status pages in one place. No credit card needed.