Measuring delivery with DORA metrics

Intermediate · 12 min

The five DORA software delivery metrics, how to compute them from a deploy log, how they changed in 2023 and 2024, and how teams misuse them.

Before thisFlow, feedback and continuous learning

GOTO Conferences · 45 min · from 2:43

Measuring delivery with DORA metrics

The player loads from youtube-nocookie.com when you press play. Nothing reaches YouTube before that.

Taught by GOTO ConferencesReport a problem with this video
Not started
Set this lesson's status

What you'll learn

  • DORA measures software delivery with throughput metrics (change lead time, deployment frequency, failed deployment recovery time) and instability metrics (change fail rate, deployment rework rate).
  • The research found that speed and stability move together: the teams that deploy most often tend to have the lowest failure rates, not the highest.
  • In 2023 MTTR was replaced by failed deployment recovery time, which counts only failures caused by a change, not outages from outside causes.
  • In 2024 DORA added a fifth metric, deployment rework rate: the share of deployments that were unplanned and made because of a production incident.
  • The metrics describe a system, not a person. Turning them into individual targets invites gaming, such as splitting one deploy into five.

The problem with measuring software work

If you adopt the three ways, how do you know it worked? Software teams have a long history of measuring the wrong things. Lines of code reward verbosity. Story points get inflated. Number of tickets closed rewards splitting work. Hours worked measures effort, not outcome.

A useful measure has to describe the outcome of the delivery system, be hard to game without actually improving, and work for any technology stack. The DevOps Research and Assessment programme, DORA, spent years of surveys looking for exactly that. Its findings were popularised in the 2018 book Accelerate, and the programme is now run by Google Cloud.

The metrics

DORA’s original model had four “keys”. The current model, per dora.dev (read on 2026-11-27), has five, in two groups.

Throughput, how quickly changes move:

  • Change lead time: time from a change being committed to version control to it running in production.
  • Deployment frequency: how often you deploy to production.
  • Failed deployment recovery time: how long it takes to recover when a deployment fails and needs immediate intervention.

Instability, how well deployments go:

  • Change fail rate: the share of deployments that need immediate intervention, usually a rollback or a hotfix.
  • Deployment rework rate: the share of deployments that were unplanned and happened because of an incident in production.

The headline finding behind all of this is that throughput and stability are not a trade-off. Teams that deploy more often also tend to fail less and recover faster. Small changes are easier to test, easier to review and easier to undo, so speed and safety come from the same practices.

How the model changed

If you learned DORA a few years ago, two things moved. DORA’s own history page records them.

  • 2023: MTTR became failed deployment recovery time. Mean time to restore counted every outage, including ones caused by a cloud provider or a hardware fault. Those say little about your delivery process. The new metric counts only recovery from failures that a change caused.
  • 2024: a fifth metric, deployment rework rate. DORA added it to test whether change fail rate was standing in for rework. In the five-metric model, recovery time moved into the throughput group, alongside lead time and frequency.

Plenty of blog posts and tools still show the old four with MTTR under stability. They are not wrong about the idea, but they are out of date.

Computing them from a deploy log

You do not need a vendor dashboard to start. If you can export your deployments with the commits each one contained, whether it failed, when it was recovered and whether it was an unplanned fix, the arithmetic is short. I wrote a two-week log of ten deployments as JSON lines, one per deploy:

{"id":"d2","deployed":"2026-11-03T14:00","commits":["2026-11-03T09:30"],"failed":true,"recovered":"2026-11-03T14:50","unplanned":false}
{"id":"d3","deployed":"2026-11-03T15:10","commits":["2026-11-03T14:55"],"failed":false,"unplanned":true}

The core of the script:

lead = [(T(d["deployed"]) - T(c)).total_seconds()/3600 for d in ds for c in d["commits"]]
failed = [d for d in ds if d["failed"]]
rec = [(T(d["recovered"]) - T(d["deployed"])).total_seconds()/60 for d in failed]

Running it over the ten deploys:

deployments:                  10 in 14 days = 5.0 per week
change lead time (median):    18.0 h over 15 commits
change fail rate:             2/10 = 20%
failed deploy recovery (med): 130 min  [50.0, 210.0]
deployment rework rate:       2/10 = 20%

A few choices hide in there. Lead time is per commit, not per deploy, so a deploy of three commits contributes three lead times. I used the median, because one commit that sat on a branch for a month would drag a mean far off. And “failed” needs a definition your team agrees on, usually “needed a rollback, hotfix or fix-forward within the release”. Here deploys d3 and d7 were the unplanned fixes for d2 and d6, which is why rework and fail rate match. In real data they often don’t.

How teams misuse them

The metrics are for a team to see its own delivery system and track it over time. They go wrong when:

  • They become individual targets. Goodhart’s law applies: a measure that becomes a target stops measuring. Deploy counts per engineer get gamed within a week.
  • Teams are ranked against each other. A team running a payments ledger and a team running a marketing site have different risk profiles.
  • One metric is read alone. High deployment frequency with a rising change fail rate is not success. Read throughput and instability together.
  • Nobody acts on them. A dashboard nobody discusses changes nothing. The useful question is “what is slowing our lead time?”, which leads back to flow.

About the video

The embed is an 11½-minute clip from “State of the Art of DORA Metrics & AI Integration” (GOTO Conferences, recorded October 2025), an interview of Nathen Harvey, DORA lead at Google Cloud, by Charles Humble. By its chapter titles, the clip covers “Understanding DORA: More than just metrics” and “From 4 to 5 Metrics: The evolution of DORA”. The rest of the 45-minute video is about AI’s effect on delivery. I had no transcript, so this is from the title, description and chapters. English was judged from the same metadata. I picked it because it is recent and from the programme itself. Dave Farley’s 2022 explainer and Sleuth’s short 2021 walkthrough cover the original four metrics and are under deeper.

Where this fits

DORA measures the delivery system. The next lesson looks at who owns which part of it, and how DevOps, SRE and platform engineering divide the work: DevOps, SRE and platform engineering.

Check yourself

  1. 01Which DORA metric would catch a team that deploys daily but whose deploys keep breaking production?

    Change fail rate, the share of deployments that need immediate intervention such as a rollback or hotfix. Deployment rework rate would also rise, as unplanned fix deploys pile up.

  2. 02Why did DORA replace MTTR with failed deployment recovery time?

    MTTR mixed outages caused by software changes with outages from external causes, such as a data centre failure. The new metric counts only recovery from failures that a deployment caused, which ties it to the delivery process.

  3. 03Change lead time starts and stops where?

    It starts when a change is committed to version control and stops when that change is running in production.

  4. 04A manager sets a target of 10 deploys per week per engineer. What is likely to happen?

    People will split work into more, smaller deploys or deploy trivial changes to hit the number. Deployment frequency rises while nothing about delivery actually improves. The metrics are meant for a team to see its own system, not as targets for individuals.

Go deeper

Notes

Private to you

Esc
↑↓ navigate↵ open? shortcuts

Keyboard shortcuts

Press Esc to close

Anywhere

⌘K
Search and commands
/
Search
?
This sheet
Esc
Close

Reading a lesson

J
Next lesson
K
Previous lesson
B
Bookmark