MTTR
MTTR is the mean time to restore service after a production failure, and it is a DORA metric for how quickly a team recovers from incidents.
Understanding MTTR
What Is MTTR and What Does It Measure
MTTR in the DORA context is the average time to restore service after a production incident, most often one caused by a deployment. Some failure is unavoidable at scale, so the real differentiator is how quickly a team recovers. DORA has also used the name failed deployment recovery time for this metric in recent reports.
The Four Phases of Recovery
- Detection: time until a person or alert notices the problem.
- Diagnosis: time to link the problem to a change or component.
- Rollback or fix: time to execute
kubectl rollout undo, an ArgoCD revision sync, or a feature flag flip. - Verification: time to confirm the service is truly healthy, not just that the command succeeded.
Benchmarks
| Tier | Time to restore |
|---|---|
| Elite | Less than one hour |
| High | Less than one day |
| Medium | One day to one week |
| Low | More than one week |
Bands shift slightly between report years, so use them as orientation.
Measuring MTTR
Measure from when the failure actually began (when the bad deploy went live), not when a ticket was opened.
SELECT AVG(EXTRACT(EPOCH FROM (resolved_at - started_at)) / 60) AS mttr_minutes, PERCENTILE_CONT(0.5) WITHIN GROUP ( ORDER BY EXTRACT(EPOCH FROM (resolved_at - started_at)) / 60 ) AS median_minutesFROM incidentsWHERE started_at > NOW() - INTERVAL '30 days' AND caused_by_deployment_id IS NOT NULL;Report the median next to the mean, since one multi-hour data incident can pull the mean far above a typical case.
What Makes MTTR Long and How to Fix It
- Missing or noisy alerts: if customers detect failures first, detection alone eats the budget. Alert on symptoms such as error rate and latency.
- Manual rollback: automate with
kubectl rollout undo, ArgoCD revision sync, or Argo Rollouts auto-abort. - Unclear runbooks: write and rehearse short runbooks per service.
- No incident owner: name an incident commander so the rollback decision is not delayed.
Troubleshooting
| Symptom | Check | What to Look For |
|---|---|---|
| MTTR higher than expected | Break down by phase | Detection or diagnosis dominating |
| Skewed by one incident | Max duration | A long data issue inflating the mean |
| Faster tooling, no gain | Alert to action delay | Slow acknowledgement or runbook gaps |
TipRehearse rollbacks in staging on a schedule. A procedure nobody has run under pressure is a common cause of long incidents.
RememberThe clock starts when the failure starts, not when the ticket opens. Slow detection is invisible if you measure from the ticket.
SecurityUnder pressure, people bypass controls. Keep a documented break-glass procedure so emergency access is still audited.
Common MistakeSpeeding up rollback while detection stays slow. A 90-second rollback does not help if it takes 40 minutes for anyone to notice.
Frequently Asked Questions
Why is MTTR a DORA metric rather than an ops KPI?
Together with deployment frequency, lead time, and change failure rate it covers speed and stability. Shipping fast without fast recovery just enlarges the blast radius of a bad change.
What is the biggest lever for reducing MTTR?
Removing the human from the common rollback path. Automated rollback and one-click or flag-based recovery usually beat extra dashboards, because detection speed alone does not help if recovery is slow.
Does MTTR also stand for mean time to repair or resolve?
Those terms exist in operations, with different start and end points. In DORA it means restoring service after a failure, so confirm the definition before comparing numbers across teams.