Skip to content
Marvex

DORA metrics

MTTR Is the Easiest DORA Metric to Measure Wrong

Nearly every MTTR number contains at least one manually entered timestamp, and manually entered timestamps record when someone updated a ticket.

Why mean time to recovery is the most frequently misreported DORA metric, covering detection versus recovery time, the mean-versus-median problem, and which timestamps can be captured automatically.

DORA MetricsMarvex EngineeringEngineering Intelligence, Shiprocket9 min read
Network operations monitors showing system status and alerts

Four different clocks share one acronym

MTTR is used for at least four distinct measurements, and organisations routinely compare numbers that measure different things. Mean time to respond is from alert to a human acknowledging. Mean time to repair is from work starting to the fix being applied. Mean time to recover, or restore, is from the failure beginning to service being normal again. Mean time to resolve sometimes extends further, to the underlying cause being addressed.

The DORA metric is the recovery sense, and later DORA reports renamed it failed deployment recovery time specifically to remove two ambiguities: that it is about recovery rather than repair or resolution, and that it is scoped to failures caused by a change rather than to every incident an organisation experiences. That scoping is frequently lost. A dashboard that includes a data-centre power failure or a third-party outage in the same average as a bad deploy is measuring something real but not the DORA metric, and the two should not be blended.

Before you can improve the number you have to say which clock it is. Write down the start event and the end event as observable facts — "the deployment that introduced the regression completed" and "error rate returned below threshold" — rather than as process states such as "incident declared" and "incident closed", which measure the process rather than the outage.

  • Respond, repair, recover and resolve are four different measurements
  • The DORA metric is recovery, scoped to change-induced failures
  • Define start and end as observable events, not process states

The detection problem is usually the biggest term

Recovery time starts when the failure starts, not when someone notices. In teams without strong detection, the gap between those two moments is frequently the largest component of the whole interval, and it is invisible if the clock starts at the alert or at the incident declaration.

This produces a perverse result: an organisation with poor monitoring reports a shorter MTTR than one with good monitoring, because it starts counting later. The team that detects a regression in ninety seconds and fixes it in twenty minutes records twenty-one minutes; the team that finds out from a customer four hours later and fixes it in twenty minutes records the same twenty minutes if the clock starts at the report. One of these teams is much better at operating a system and the metric cannot tell them apart.

The practical fix is to separate detection time and recovery time and to report both. Detection time is what monitoring investment moves. Recovery time is what rollback capability, runbooks and on-call design move. They have different owners and different remedies, and collapsing them into one number means neither investment can be evaluated.

Where detection time cannot be established reliably, say so. An MTTR that explicitly starts at detection is defensible; one that silently starts at detection and is presented as time-to-recover is not.

  • Poor monitoring shortens a naively measured MTTR
  • Report detection time and recovery time separately
  • Monitoring moves the first; rollback capability moves the second

The mean is the wrong statistic

Incident durations are extremely right-skewed. Most incidents are short; a small number run for hours because they involve data corruption, an external dependency, or a failure mode nobody had seen. A mean over that distribution is dominated by the tail, which means the headline number describes an experience that almost never happens and moves violently whenever one bad month occurs.

Report the median for the typical incident and a high percentile for the tail. The median tells you whether routine recovery is fast, which is what rollback capability and runbooks affect. The 90th percentile tells you about the incidents that actually damage customer trust, which are usually a different class of problem entirely, with different fixes.

Count matters as much as duration. A team with a median recovery of ten minutes and forty incidents a month is in a worse position than a team with a median of thirty minutes and three, and MTTR alone cannot see that difference. Always read it next to change failure rate, which is the frequency term the duration metric is missing.

Beware small numbers. With three incidents in a quarter, any MTTR statistic is noise, and a quarter-on-quarter comparison is meaningless. Say the count out loud whenever you quote the duration.

  • Median plus 90th percentile, never the mean alone
  • Always quote the incident count with the duration
  • Read MTTR next to change failure rate — duration without frequency is half a picture

Where the timestamps should come from

Any timestamp a human enters after the fact records when they got round to entering it. The end of an incident is the worst offender: service is restored, everyone moves on, and the ticket is closed the following morning. That single habit can inflate a recovery time by an order of magnitude, and it does so inconsistently, which is worse than a constant bias because it destroys the trend as well as the level.

Prefer timestamps emitted by systems. The completion time of the remediating deployment, the moment a feature flag was disabled, the time an alert cleared, the time error rate crossed back under threshold — all of these are recorded automatically by something. Where an incident record is the source, use the field the tooling sets rather than one a responder types.

The same discipline applies to the link between incident and deployment. Attributing an incident to a change should rest on evidence — a revert of a specific commit, a rollback to a previous artefact, a hotfix branch, or a time-window association that is stated explicitly as an assumption. Marvex sources incidents and uses them for both change failure rate and mean time to recovery, so the same records drive both stability metrics and the two cannot drift apart the way independently maintained counts do.

  • Human-entered end times measure when the ticket was updated
  • Prefer system-emitted timestamps: remediating deploy, flag change, alert clear
  • Link incidents to changes on evidence, and state time-window assumptions explicitly

What actually shortens recovery time

The single largest lever is a rollback path that is fast, well understood and routinely exercised. Teams with genuinely short recovery times tend to find rollback boring, because they do it often enough that nobody has to think. A rollback procedure documented but never used is a hypothesis, and it will be tested for the first time under pressure at an inconvenient hour.

The second lever is batch size, which is the same lever as everything else in this set. A small release has an obvious suspect; a large one requires bisecting through weeks of change while the service is degraded. Recovery time is partly a diagnosis problem, and diagnosis time scales with how much changed.

The third is progressive delivery. If a change reaches one per cent of traffic first, the failure is detected while its blast radius is trivial and recovery is a matter of stopping the rollout rather than repairing production. This shows up as an improvement in recovery time that has nothing to do with how fast anyone worked.

The fourth is on-call design: clear ownership, a reachable person, and enough context to act. This is the one that degrades quietly as an organisation grows, and it is usually visible in the tail of the distribution rather than in the median — the long incidents are frequently long because the right person was not involved for the first hour.

  • Exercise the rollback path until it is boring
  • Smaller releases mean a smaller diagnosis space
  • Progressive rollout turns recovery into stopping a rollout
  • On-call and ownership problems show up in the tail, not the median
MTTRincidentsreliabilityDORA

Frequently asked questions

What does MTTR mean in the DORA metrics?

In the DORA metrics, MTTR is the time to restore service after a change-induced failure — how long it takes to get back to normal after a deployment causes a degradation. Later DORA reports renamed it failed deployment recovery time to remove two common ambiguities: that it means recovery rather than repair or root-cause resolution, and that it is scoped to failures caused by a change rather than to every incident, such as a third-party outage or a data-centre power failure.

Why does better monitoring sometimes make MTTR look worse?

Because good monitoring starts the clock earlier. If recovery time is measured from the moment someone notices rather than from the moment the failure began, a team that detects a regression in ninety seconds records the full detection-plus-repair interval, while a team that hears about it from a customer four hours later records only the repair. The fix is to report detection time and recovery time separately: monitoring investment moves the first, and rollback capability, runbooks and on-call design move the second.

Should MTTR be reported as a mean?

No. Incident durations are heavily right-skewed — most are short, a few run for hours — so the mean is dominated by the tail and describes an experience that almost never happens. Report the median for the typical incident and a high percentile such as the 90th for the tail, because those two are moved by different investments. Always quote the incident count alongside, since a median calculated over three incidents in a quarter is noise rather than a measurement.

What is the difference between MTTR and change failure rate?

Change failure rate is a frequency measure — the proportion of deployments that cause a degradation needing remediation. MTTR is a duration measure — how long the degradation lasts once it happens. Neither is meaningful alone: a team with a low failure rate but hours-long recoveries and a team with a higher failure rate but minute-long recoveries can have very different operational realities. Read them together, and prefer the pairing over either number in isolation.

Which timestamps should MTTR be calculated from?

Wherever possible, timestamps emitted by systems rather than entered by people. The completion time of the remediating deployment, the moment a feature flag was disabled, the time an alert cleared, or the time an error rate crossed back under threshold are all recorded automatically. Manually entered end times record when someone got round to closing the ticket, which is frequently the next morning — an error that inflates the figure inconsistently and therefore destroys the trend as well as the level.

What actually reduces mean time to recovery?

Four things, in rough order of impact. A rollback path that is fast and routinely exercised, so it is boring rather than improvised under pressure. Smaller releases, because diagnosis time scales with how much changed in the batch. Progressive delivery such as canaries or staged rollouts, which turns recovery into stopping a rollout rather than repairing production. And clear on-call ownership with enough context to act, which usually shows up in the tail of the distribution rather than in the median.

How does Marvex calculate MTTR?

Marvex sources incidents from your incident data and uses the same records to compute both mean time to recovery and change failure rate, so the two stability metrics stay consistent rather than drifting apart the way independently maintained counts do. Those figures are presented on the team dashboard alongside deployment frequency and lead time for changes, and rolled up across teams on the org dashboard, so recovery duration is always read next to the failure frequency and throughput it belongs with.

Marvex

See it on your own delivery data

Connect GitHub, GitLab or Jira and Marvex builds your DORA, cycle-time and sprint views from the history you already have.