Book a free call

DORA Metrics in DevOps: What They Measure and How to Use Them

DORA metrics measure how fast and how reliably a team ships software: deployment frequency, lead time, change failure rate and time to restore service.

Hertiv engineering teamReviewed by a senior engineer
7 min read
DORA Metrics in DevOps: What They Measure and How to Use Them
On this page

Short answer

DORA metrics are four measures of software delivery performance from Google's DevOps Research and Assessment programme: deployment frequency, lead time for changes, change failure rate and time to restore service. Together they show how fast a team ships and how stable its releases are, without judging individual developers.

What are DORA metrics?

DORA metrics are four measures of software delivery performance created by Google's DevOps Research and Assessment programme, based on years of survey research across software teams. They measure outcomes at the team level: how often code reaches production, how long changes take, how often changes cause problems, and how fast service is restored.

The four metrics split into two pairs. Deployment frequency and lead time for changes measure speed. Change failure rate and time to restore service measure stability. The point of reading them together is that speed without stability is just faster breakage, and stability without speed is usually a team that rarely ships.

MetricWhat it measuresSpeed or stability
Deployment frequencyHow often code is deployed to productionSpeed
Lead time for changesTime from code committed to code running in productionSpeed
Change failure rateShare of deployments that cause degraded serviceStability
Time to restore serviceTime to recover from a failed deploymentStability

DORA groups teams into four performance bands — elite, high, medium and low — based on these numbers. The bands are a reference point, not a grade: a team shipping a regulated medical system will reasonably deploy less often than a team shipping a consumer app. What matters is the direction of travel. If you are setting up the measurement, a partner for DevOps services can help wire the data sources together.

What does deployment frequency tell you?

Deployment frequency tells you how often a team can safely put code in front of users, and it is the most direct signal of how small and reversible its changes are. Teams that deploy daily or on demand are usually shipping small changes; teams that deploy once a quarter are usually shipping large batches that are hard to review and harder to roll back.

A low frequency rarely means the team is slow. It usually means the release process is heavy: manual approvals, long test cycles, a change board, or a deployment that needs several people in a room. Each of those is a fixable bottleneck, and deployment frequency is the number that shows whether the fixes worked.

Count only successful deployments to production, and count them per week or per month so the trend is visible. A single release split into ten deploys is not ten improvements; the metric is useful because it tracks the habit, not the count. The pattern shows up across many DevOps use cases, where smaller releases are the common thread.

What is lead time for changes?

Lead time for changes is the time from a code commit to that code running in production, and it shows how much waiting sits between finishing work and delivering it. A team can write code quickly and still have a long lead time if review queues, test environments or release windows add days.

Measure it from the first commit of a change, not from the pull request, so the number includes the review and testing that actually happens. Track the median rather than the average, because one change stuck in review for a month will distort an average while the median still describes the typical change.

Short lead times usually come from small changes, automated tests and a deployment path that does not need a human to press a button at each stage. When lead time grows, the first place to look is the wait between stages, not the speed of the coding itself.

What do change failure rate and time to restore measure?

Change failure rate is the share of deployments that cause degraded service and need a fix, a rollback or a hotfix. Time to restore service is how long it takes to recover once that happens. Together they answer the question every team should ask before shipping faster: when something breaks, how bad is it and how quickly do we recover?

A low change failure rate with slow recovery is a fragile position: failures are rare, so the team has little practice fixing them. A higher failure rate with fast recovery is often healthier, because the team finds problems quickly and has rehearsed the fix. The two numbers must be read together.

DORA bandDeployment frequencyLead timeChange failure rateTime to restore
EliteOn demand, many times a dayUnder one day0-15%Under one hour
HighOnce a day to once a weekOne day to one week0-15%Under one day
MediumOnce a week to once a monthOne week to one month0-15%Under one day
LowOnce a month to once every six monthsOne to six months46-60%One week to one month

These bands come from DORA's published research, and they describe the clusters the research found — not targets every team must hit. Use them to see where your team sits and which metric is furthest behind the band you aim for. Recovery speed is a shared concern with reliability work, which is why teams often read these numbers alongside SRE vs DevOps practices.

How do you start measuring DORA metrics?

You start measuring DORA metrics by pulling the four numbers from systems you already run, not by buying a new dashboard. Deployment data lives in your CI/CD tool, lead time in your version control history, failures in your incident tracker, and restore times in your incident log.

  1. Define a deployment. Agree what counts: a production release of your main service, not a config tweak or a docs change.
  2. Pull deployment frequency from your CI/CD history. Count successful production deploys per week for the last eight weeks.
  3. Measure lead time from commit to production. Use the median across merged changes, and ignore changes that never shipped.
  4. Tag failed deployments. Mark any deploy that caused an incident, a rollback or a hotfix, then divide by total deploys for the failure rate.
  5. Record restore times from your incident log. Use the median time from incident start to service restored.
  6. Review the four numbers together every month. Pick the weakest one and fix the bottleneck behind it before chasing the others.

Keep the definitions written down and unchanged for at least a quarter, or the trend line is meaningless. If the team argues about what counts as a failure, that argument is worth having once, in writing, and then moving on.

Example (hypothetical): a team reads its DORA numbers

Example (hypothetical): a team of eight developers ships a billing service. Over eight weeks it makes 40 production deploys, so deployment frequency is 5 per week. Its median lead time is 6 days, 6 of the 40 deploys needed a hotfix, and the median restore time is 4 hours.

The failure rate is 6 divided by 40, which is 15%. The numbers tell a clear story: the team ships often enough, but changes wait 6 days and one in seven deploys breaks something. The bottleneck is not deployment frequency; it is review and testing.

The team adds automated tests and a second reviewer rotation, and three months later lead time is 2 days, the failure rate is 3 of 60 deploys, or 5%, and restore time is 50 minutes. Deployment frequency rises to 60 deploys in eight weeks, or about 7 to 8 per week, because smaller, safer changes are easier to ship.

What are the common mistakes?

The most common DORA mistakes are turning the metrics into targets for individuals, gaming the numbers, and measuring only the easy two.

  • Judging developers by the metrics. DORA measures the system, not people; using it in performance reviews makes teams hide failures.
  • Splitting releases to inflate frequency. Ten deploys of one change is not ten improvements, and it adds risk.
  • Counting only speed. A team that deploys daily with a 40% failure rate is not high performing.
  • Measuring lead time from pull request. That hides the review wait, which is usually the largest part.
  • Chasing elite numbers in the wrong context. A regulated system with a monthly release window has different constraints, and that is fine.

Key takeaways

  • DORA metrics measure four things: deployment frequency, lead time, change failure rate and time to restore service
  • Speed and stability must be read together; fast shipping with frequent failures is not good performance
  • Lead time usually grows in the waits between stages, not in the coding
  • Track the median, not the average, so one stuck change does not distort the picture
  • Use the metrics to find the bottleneck, never to judge individual developers

Frequently asked questions

What does DORA stand for?

DORA stands for DevOps Research and Assessment, the research programme at Google Cloud that studies how software teams deliver and operate systems. Its annual State of DevOps research produced the four delivery metrics and the elite, high, medium and low performance bands that teams use as a reference.

How many DORA metrics are there?

There are four core metrics: deployment frequency, lead time for changes, change failure rate and time to restore service. Later DORA research added a fifth measure, reliability, based on how well a service meets its operational targets. Most teams start with the original four.

What is a good deployment frequency?

It depends on the product. DORA's elite band is on-demand deployment, several times a day, while the high band is between once a day and once a week. A team shipping a regulated system may reasonably deploy monthly; the useful question is whether the frequency is rising or stuck.

What is a good change failure rate?

DORA's published bands put elite, high and medium performers at 0 to 15% of deployments needing a fix, rollback or hotfix, while low performers sit at 46 to 60%. Below 15% is a reasonable aim for most teams, provided recovery is also fast.

Can DORA metrics be used for any team size?

Yes, with care. Small teams can track the same four numbers from their deployment tool and version control history. The absolute values matter less than the trend: a three-person team that cuts lead time from five days to one has improved, whatever band it sits in.

Do DORA metrics replace other engineering metrics?

No. They describe delivery outcomes, not code quality, security or user value. Use them alongside measures your team already tracks, such as defect rates, test coverage and user-reported issues, so faster shipping does not hide other problems.

Found this useful? Share it.
Hertiv engineering team

Written from projects we build for clients: software products in production. Every post is reviewed by a senior engineer before publishing and updated when practice changes.

About HertivHow we work

Want to know where your delivery pipeline actually stands? Talk to Hertiv.

A senior engineer replies within one business day. Or see our DevOps service.

Book a free call

Keep reading

All posts

Tell us what you want to build

A senior engineer reads every request and replies within one business day with questions, a rough range, or a call link.

  • NDA on request before any details
  • You own all code, models and IP
  • US, UK and EU time-zone overlap

Your email app should open with your message ready to send. If it does not, write to [email protected].

Prefer email? Write to [email protected]
Estimate costBook a call