DEVOPS, SRE AND CLOUD · PART 0 · START HERE · METRICS · 4 OF 187

DORA Metrics Explained: The 5 Delivery Metrics

The five software delivery metrics from DORA, the long-running research programme on DevOps: change lead time, deployment frequency and failed deployment recovery time (throughput), change fail rate and deployment rework rate (instability). How each is measured, how they changed since 2014, why speed and stability go together, and how not to misuse them.

  1. 1
  2. 2
  3. 3
  4. 4
  5. 5
  6. 6
  7. 7
  8. 8
  9. 9
  10. 10
  11. 11
  12. 12
  13. 13
  14. 14
  15. 15
  16. 16
  17. 17
  18. 18
  19. 19
  20. 20
  21. 21
  22. 22
  23. 23
  24. 24
  25. 25
  26. 26
  27. 27
  28. 28
  29. 29
  30. 30
  31. 31
  32. 32
  33. 33
  34. 34
  35. 35
  36. 36
  37. 37
  38. 38
  39. 39
  40. 40
  41. 41
  42. 42
  43. 43
  44. 44
  45. 45
1 / 13

Press play to hear the narration, or step through at your own pace.

Key takeaways

  • Lead time
  • deploy frequency
  • recovery time
  • change fail rate
  • rework rate
  • speed and stability together

Notes

Where they come from

DORA stands for DevOps Research and Assessment. It has published research on software delivery every year since twenty fourteen, and is now part of Google Cloud. Its biggest finding surprises people: speed and stability are not a trade-off. The teams that deploy most often are, for most teams, also the ones whose deploys fail least and recover fastest. Small, frequent changes are what make both possible.

DORA
  • DevOps Research and Assessment
  • yearly State of DevOps reports since 2014
  • now part of Google Cloud
  • finding: speed and stability go together, they are not a trade-off

1 · Change lead time

The first metric is change lead time: how long it takes from a change being committed to version control until it is running in production. Measure it per change, from the commit time to the deploy time, and look at the median. Short lead time means fast feedback: a developer learns within hours, not weeks, whether a change works for real users.

Change lead time
  • time from a change being committed to version control to it being deployed in production
  • measure: commit time and deploy time per change, then the median
  • shorter = faster feedback

2 · Deployment frequency

The second is deployment frequency: how many times you deploy to production in a period, or the time between deployments. Count production deploys per day or per week from your pipeline. More frequent deploys mean smaller batches, and a smaller batch carries less risk each time. But frequency is a result, not a target: deploying empty changes to look good teaches you nothing.

Deployment frequency
  • number of deployments in a period, or the time between deployments
  • measure: count production deploys per day or week
  • more often = smaller batches, smaller risk each time

3 · Recovery time

The third is failed deployment recovery time: how long it takes to recover when a deployment fails and needs immediate action. You may know its old name, mean time to restore, or MTTR. In twenty twenty three DORA renamed and narrowed it: it now counts only failures caused by a change to production, not outside events like a data centre losing power. Fast rollback is the biggest lever here.

Failed deployment recovery time
  • time to recover from a deployment that fails and needs immediate intervention
  • was called MTTR, "time to restore service", until 2023
  • now counts only failures caused by a change, not, say, a data centre outage

4 · Change fail rate

The fourth is change fail rate: the share of deployments that need immediate intervention afterwards, usually a rollback or a hotfix. Divide the failed deployments by all deployments in the period. A low rate means your tests, reviews and staging catch problems before users do. Teams need an honest, agreed definition of failed, or this number quietly becomes meaningless.

Change fail rate
  • the ratio of deployments that need immediate intervention after deployment: a rollback or a hotfix
  • measure: failed deploys / all deploys, per period
  • lower = better checks before production

5 · Rework rate

The fifth, added in twenty twenty four, is deployment rework rate: the share of deployments that were not planned but happened because of an incident in production. Every hotfix pushed at midnight counts. A high rework rate means the team spends its time cleaning up instead of building, and it is often a sign of weak checks earlier in the pipeline.

Deployment rework rate
  • the ratio of deployments that were unplanned, done because of an incident in production
  • added in 2024 as the fifth metric
  • high = time spent fixing instead of building

Two groups

DORA groups the five into two families. Throughput: change lead time, deployment frequency and failed deployment recovery time, how much change moves through and how fast you bounce back. Instability: change fail rate and deployment rework rate, how often a change hurts users. Always read them together. Fast with high instability is reckless. Stable but slow is fragile, because every rare release becomes a big risk.

DORA groups them
  • throughput: change lead time deployment frequency failed deployment recovery time
  • instability: change fail rate deployment rework rate

Measure them

Where do the numbers come from? Commit times from Git. Deploy times, and which deploys were rollbacks, from your CI and CD system. Incident start and end times from your incident tool. Mark each deploy as planned or unplanned. You do not need an expensive dashboard to start. A simple sheet for one service, filled for a month, already shows where the time goes.

Sources
  • Git: commit times
  • CI/CD: deploy times and which deploys were rollbacks
  • incident tool: when an incident started and ended
  • tag deploys: planned or unplanned
  • start simple: a spreadsheet for one service is fine

Use them well

DORA's own advice on using them. Measure one application or service at a time, because blending a whole organisation hides everything. Use several metrics together, so they keep each other honest. Share them across development, operations and release. And never turn them into targets or league tables. When a measure becomes a target, people improve the number instead of the work. Use them to find where to improve next.

Do and do not
  • measure one service at a time
  • use several metrics together
  • share them across dev, ops, release
  • do not make them targets (Goodhart's law)
  • do not compare unlike teams
  • do not use them to rank people or teams

Common mistakes

Mistakes. Mandating a deploy count, which produces empty deploys. Ranking teams against each other on a dashboard. Watching one metric alone. Counting rollbacks as ordinary deploys, which hides failures. No shared definition of a failed deployment. And averaging the whole company into one number that describes no real team.

Avoid these
  • "deploy 10 times a day" as a mandate
  • ranking teams on a dashboard
  • one metric alone
  • counting a rollback as a normal deploy
  • no agreed meaning of "failed"
  • measuring the whole company as one number

Say it like this

In the interview: I use the five DORA metrics, per service. Change lead time, deployment frequency and failed deployment recovery time for throughput; change fail rate and deployment rework rate for instability. I read them together, never as targets or to rank teams, and use them to find the next bottleneck, for example long reviews behind a slow lead time.

In the interview
  • "With the five DORA metrics
  • per service: lead time, deploy
  • frequency and recovery time for throughput; change fail rate and rework rate for instability. I
  • read them together, never as targets, and use them to pick
  • the next bottleneck to fix."

Interview questions

Q1What are the DORA metrics?

Five software delivery metrics: change lead time, deployment frequency, failed deployment recovery time (throughput), and change fail rate and deployment rework rate (instability).

Q2What is change lead time?

The time from a change being committed to version control to it being deployed in production.

Q3What replaced MTTR in DORA?

Failed deployment recovery time (2023): the time to recover from a deployment that fails and needs immediate intervention, counting only failures caused by a change.

Q4What is change fail rate?

The share of deployments that need immediate intervention afterwards, such as a rollback or hotfix.

Q5What is deployment rework rate?

The share of deployments that were unplanned and happened because of an incident in production; added as the fifth metric in 2024.

Q6Are speed and stability a trade-off?

DORA's research finds that for most teams they correlate: high performers deploy often and also fail less and recover faster, because changes are small.

Q7How should DORA metrics not be used?

As targets or mandates, to rank or compare unlike teams, one metric alone, or averaged across a whole organisation; use them per service to find what to improve.

Q8Where do you get the data?

Commit times from Git, deploy times and rollbacks from CI/CD, incident start and end from the incident tool, and a planned/unplanned tag on each deploy.