DevOps metrics that matter are the handful of measures that tell you whether your team ships software quickly and safely, and the best place to start is the four DORA keys: deployment frequency, lead time for changes, change failure rate and time to restore service. If you only track four numbers, track those, because years of research by the DevOps Research and Assessment programme found they separate high-performing teams from the rest. This guide explains what each metric means, how to measure it, and which supporting numbers are worth adding once the basics are in place.
The central question is simple: how do you know whether your delivery pipeline is actually getting better? The answer is to measure outcomes, not activity.
Counting tickets closed or lines of code written tells you how busy a team is, not how well it delivers. The metrics in this guide measure speed, stability and the cost of change, which are the things users and the business actually feel.
Key takeaways
- The four DORA metrics — deployment frequency, lead time for changes, change failure rate and time to restore service — are the most reliable measure of delivery performance.
- Throughput and stability are not a trade-off: the teams that ship fastest also tend to break production least.
- Measure with medians and percentiles, not averages, because a few very slow changes distort the mean.
- Supporting metrics such as cycle time, test pass rate and escaped defects add context, but they should never replace the four keys.
- Metrics used to rank or punish teams get gamed; use them to find friction and fix it.
What Are the Four DORA Metrics?
The DORA metrics come from the DevOps Research and Assessment programme, the research team behind the book Accelerate and the annual State of DevOps reports. The researchers surveyed thousands of engineering teams over several years and looked for the measures that best predicted both delivery performance and organisational outcomes. Four metrics survived that testing.
Deployment frequency counts how often a team successfully deploys code to production. Lead time for changes measures the time from a commit to that code running in production.
Change failure rate is the percentage of deployments that cause a failure in production, such as degraded service or a rollback. Time to restore service measures how long it takes to recover after a production failure.
The first two metrics measure throughput: how fast change flows. The second two measure stability: how safely it flows. That split is the point.
A team that ships ten times a day but breaks production every time is not performing well, and neither is a team that never breaks anything because it ships once a quarter. Good delivery needs both halves.
Deployment Frequency: How Often Do You Ship?
Deployment frequency is the simplest of the four metrics to collect. Count the number of successful production deployments in a period and divide by the length of that period.
A team that deploys 20 times in a working week has a frequency of four per day. The count should include every production deployment, including small fixes and configuration changes, because excluding the small ones hides the real picture.
High-performing teams deploy on demand, often several times a day. That frequency is not a goal in itself; it is a side effect of small batches.
When changes are small, each one is easier to review, easier to test and easier to roll back, so teams stop fearing deployments and start doing them routinely. Frequency rises because the risk of each deployment falls.
Low frequency usually points to batching. Changes pile up in a branch for weeks, then land as one large release that nobody fully understands.
If your frequency is low, ask why deployments are hard rather than pushing the team to deploy more often. The fix is usually automation: a pipeline that can deploy safely on demand, and tests that give the team confidence to press the button.
Lead Time for Changes: Commit to Production
Lead time for changes measures the time between a commit landing in version control and that code running in production. It captures everything in between: code review, automated tests, manual approval, staging and the deployment itself. If a commit waits three days for review, that waiting time is part of the lead time, and it should be, because the user is waiting too.
Elite performers keep lead time under a day, and the best teams measure it in hours. That speed comes from short review cycles, fast automated tests and pipelines that deploy without manual handoffs. When lead time stretches into weeks, the usual causes are review queues, slow test suites and release windows that only open on certain days.
Measure lead time with the median and the 90th percentile, not the average. Averages hide the problem: nine changes that ship in a day and one that takes a month average out to a respectable-looking number, while the team still has a month-long tail. The median shows the typical experience, and the 90th percentile shows how bad the tail gets.
Change Failure Rate: How Often Do Deploys Break Things?
Change failure rate is the share of production deployments that result in degraded service or need remediation, such as a rollback, a hotfix or an incident response. If you deploy 100 times in a month and 12 of those cause a problem, your change failure rate is 12 per cent. Elite teams keep this figure at or below 15 per cent, according to the DORA research.
This metric is only as honest as your definition of failure. Teams that count only full outages will report a flattering number while users suffer degraded performance.
Agree a definition in advance: any deployment that triggers a rollback, a hotfix, a customer-facing incident or a service-level breach counts. Write the definition down, and apply it the same way every month.
A rising change failure rate usually means testing or review is not keeping up with delivery speed. It can also mean the system has become harder to change safely, for example because of tangled dependencies or untested configuration. The response is not to slow down indiscriminately, but to find which kinds of change fail most often and strengthen the checks around them.

Time to Restore Service: How Fast Do You Recover?
Time to restore service, often called mean time to restore or MTTR, measures how long it takes to bring a service back after a production failure. The clock starts when the failure begins, or when it is detected, and stops when service is restored. Elite teams restore service in under an hour.
Fast recovery depends on preparation more than heroics. Teams that recover quickly have good monitoring that detects failures fast, runbooks that describe the first steps, and rollback mechanisms that work without a meeting. If rolling back takes an hour of manual work, the metric will show it, and that is exactly the point.
Supporting Metrics Worth Adding
Once the four DORA keys are in place, a few supporting metrics add useful context. Cycle time measures how long work takes from starting to finishing, which exposes waiting time inside the team. Work in progress counts how many items are open at once, and high numbers usually mean context switching and slow reviews.
Test pass rate and test suite duration show whether the automated safety net is healthy. A suite that takes an hour to run becomes a bottleneck that teams work around, and a suite that fails randomly teaches teams to ignore it. Both problems show up in lead time long before anyone admits the tests are broken.
Escaped defects count the bugs that reach production and are found by users rather than by tests. This is a quality signal that complements change failure rate, because a defect can be serious without triggering an incident. Tracking escaped defects by severity keeps the focus on the bugs that matter rather than on raw counts.
| Metric | What it measures | Elite band | Where the data comes from |
|---|---|---|---|
| Deployment frequency | How often code reaches production | On demand, several times a day | Deployment records |
| Lead time for changes | Commit to code running in production | Less than one day | Version control and deployment records |
| Change failure rate | Share of deploys that cause a failure | 0 to 15 per cent | Incidents, rollbacks and hotfixes |
| Time to restore service | How fast service recovers after failure | Less than one hour | Incident start and resolution times |
Best for: engineering teams that want one honest dashboard for delivery performance, and leaders who want to compare trends over time rather than rank teams against each other.
How to Start Measuring
Agree the definitions before you publish any number. What counts as a deployment, what counts as a failure, and when the recovery clock starts are all decisions that change the results. Document them where the whole team can see them, and revisit them when the system changes.
Review the numbers as a team, regularly, and use them to find friction. If lead time is growing, look at where changes wait.
If change failure rate is rising, look at which kinds of change fail. The metrics are a diagnostic tool, not a scoreboard, and their value is in the conversations they start.
For teams that deploy through Git, the discipline of GitOps best practices that keep deployments safe and predictable makes these metrics easier to collect, because every change is a commit and every deployment is traceable. And if your pipeline needs work before the numbers can improve, our guide to CI/CD pipelines explains where automation helps and where it hurts.
Checklist: Getting Value From DevOps Metrics
- Track the four DORA metrics before adding anything else.
- Write down the definition of a deployment, a failure and a recovery before publishing numbers.
- Use medians and 90th percentiles for lead time and recovery, not averages.
- Review trends over time rather than comparing teams against each other.
- Never use delivery metrics to judge individual developers.
- Share the numbers openly with the whole team, including the bad ones.
Frequently Asked Questions
What are the four DORA metrics?
The four DORA metrics are deployment frequency, lead time for changes, change failure rate and time to restore service. They come from the DevOps Research and Assessment programme and are the most widely used measures of software delivery performance.
How often should DevOps metrics be reviewed?
Weekly or fortnightly works well for most teams. Daily review adds noise, and quarterly review is too slow to catch drift. Reviewing trends over several weeks matters more than reacting to any single week.
What is a good deployment frequency?
It depends on the system, but the DORA research describes elite teams as deploying on demand, several times a day. The more useful question is whether frequency is rising or falling for your team, and whether deployments feel safe or stressful.
Should metrics be used to compare teams?
No, not directly. Different teams work on different systems with different risks, so comparing their numbers is misleading. Compare each team against its own past performance, and use the metrics to find where each team needs help.
What if our change failure rate is high?
Start by looking at which changes fail and why. Common causes include weak automated tests, large unreviewed changes and configuration drift. Fixing the most frequent failure type usually moves the number faster than any broad initiative.
DevOps metrics that matter are the ones that change what a team does next. Start with the four DORA keys, define them honestly, review them together, and let the trends point you at the friction worth fixing. The numbers are not the goal; faster, safer delivery is.







