World’s largest virtual agentic engineering & quality conference
On This Page
Measuring the effectiveness of DevOps processes can be challenging. Traditional methods often focus on factors like the number of deployments or task duration, but these don’t provide a clear picture of a team’s speed, efficiency, or reliability.
DORA metrics address this by focusing on key indicators such as deployment frequency, lead time, and change failure rate. These DORA metrics help organizations better understand their DevOps practices, enabling continuous improvement and better outcomes. If you are still mapping out how the two relate, our breakdown of DevOps vs CI/CD is a useful starting point.
DORA stands for DevOps Research and Assessment, a research program that examines how organizations utilize DevOps to improve software development and delivery processes. DORA collects and analyzes data to identify the factors contributing to the success of DevOps teams. Based on this research, DORA provides frameworks, best practices, and guidance to help organizations enhance their software delivery performance.
The key outcome of DORA’s research is the identification of four specific metrics, known as the Four Keys, which are widely used to measure software delivery performance in the industry.
The four specific metrics are mentioned below:
DORA has since added a fifth metric, Reliability, which measures operational performance rather than delivery throughput. Together, the five metrics are often referred to as the DORA metrics, and you will see the terms “Four Keys” and “DORA metrics” used interchangeably.
These metrics help evaluate the effectiveness and efficiency of an organization’s DevOps practices. They reflect the team’s ability to release software quickly while maintaining stability. That tension is the point: the metrics split cleanly into two groups that pull against each other, and a healthy team improves one without sacrificing the other.
| Velocity / Throughput | Stability / Reliability |
|---|---|
| Deployment Frequency | Change Failure Rate |
| Lead Time for Changes | Time to Restore Service |
| — | Reliability (the fifth metric) |
Reading the metrics as a pair of columns stops the most common misuse of DORA. Shipping more often is trivial if you ignore the right-hand column, and a team can drive its Change Failure Rate to zero by shipping nothing at all. Elite performers move both columns at once.
In simple terms, DORA metrics reflect the performance of teams and software delivery within an organization, ranging from low to high performers. They also help answer the question, “Are we performing more effectively compared to the previous year?”
DORA metrics are an excellent tool for comparing your organization’s performance with others in the software industry. Here’s how DORA metrics help:
Note: Boost your DevOps performance and take software delivery to the next level. Try TestMu AI Today!
As you are already aware, the four key performance indicators of DORA metrics are used to measure the effectiveness of DevOps practices in software delivery, with Reliability added later as a fifth.
The first four are calculated to provide insights into the team’s delivery speed, stability, and responsiveness. Reliability works differently, and is covered in its own section below.
How to Calculate It:
| Deployment Frequency = Number of Deployments/ Time Period |
Improving DF:
DF Benchmarks:
Benchmark release frequency across teams using these categories:
Lead Time for Changes measures the time from code commit to production deployment, highlighting delays in development or CI/CD pipelines. You will also see this called Mean Lead Time for Changes (MLT), though DORA’s own reporting favors the median over the mean for the same reason it avoids “Mean” in Time to Restore Service: a handful of stalled changes can drag an average far away from the typical experience.
How to Calculate It:
| Lead Time for Changes= Sum of Lead Times / Number of Deployments |
Improving MLT:
Lead Time Benchmarks:
Time to Restore Service is the time taken to resolve production issues and restore service to users after a failure. A low Time to Restore Service indicates quick recovery and efficient incident handling. Most teams still call this metric MTTR (Mean Time to Recover) out of habit, but DORA retired that name deliberately, and the reasons are worth understanding before you start reporting the number.
How to Calculate Time to Restore Service:
| Time to Restore Service = Total Downtime / Number of Incidents |
Improving Time to Restore Service:
Time to Restore Service Benchmarks:
CFR measures the percentage of code changes that cause issues after deployment. It reflects code quality and helps assess whether updates improve the user experience.
How to Calculate CFR:
| CFR = (Number of Failed Changes / Total Number of Changes) × 100 |
Improving CFR:
CFR Benchmarks:
Reliability is the fifth metric DORA added to the original Four Keys. It measures operational performance, that is, how well your team meets the user-facing commitments it has made, rather than how fast it delivers.
How to Calculate It:
Unlike the other four, Reliability has no universal formula and no Elite-to-Low benchmark bands, because the target is one you set yourself. It is measured as attainment against your own SLOs, so the calculation depends on the indicator you choose and the threshold you commit to. See The Fifth DORA Metric below for how to define and track it.
Two of these definitions have shifted since the Four Keys were first published, so before you implement anything, it is worth being precise about what DORA measures today.
Search for DORA metrics and you will find MTTR everywhere, including in dashboards sold as DORA-compliant. DORA itself no longer uses the term. Its reports, and the documentation from Atlassian, GitLab, and Google Cloud, all say Time to Restore Service. The rename was not cosmetic. Both halves of “MTTR” were saying something DORA did not want to say.
The problem with “Mean.” An average is a poor summary of incident data because incident durations are not evenly distributed. Most incidents resolve quickly and a rare few run for hours or days, and those outliers drag the mean somewhere no real incident lives. Nine incidents resolved in 10 minutes and one that took 20 hours produce a mean of roughly two hours, which describes none of the ten. Reporting the median, or a percentile such as the 90th, tells you what recovery actually looks like and where the tail is. This is why DORA drops “Mean” from the name and stops implying a particular statistic.
The problem with “Recover.” “Recovery” invites you to time the fix, that is, the moment the server came back, the pod rescheduled, or the bad deploy was rolled back. But users do not experience your infrastructure, they experience your service. Restoring service means the user-facing failure is over, which may be earlier than the fix if a feature flag or a failover cleared the impact while engineers kept debugging, and may be later if the box is healthy while a queue still drains. Timing service restoration instead of repair keeps the metric anchored to the only thing that matters, which is whether the product worked.
Practically, this changes what you instrument. Rather than reading a timestamp from a deployment or ticketing system, you measure from the start of user-facing impact to the point where your monitoring shows normal service, which is usually derived from the same SLO signals discussed in the next section. This is where test observability earns its keep, since you cannot time the start of impact you never detected. If your organization still calls the metric MTTR, there is no need to fight over the label. What matters is agreeing on the two timestamps and reporting a median rather than a mean.
The gap Reliability fills is straightforward. The original four describe how well you deliver software, and none of them describe whether what you delivered is holding up for the people using it. A team can post elite numbers across all four while its users are having a bad week.
Reliability measures how well your team meets its user-facing commitments: availability, latency, correctness, and whatever else you have promised. Because the commitment is yours to define, that definition comes from your SLOs (Service Level Objectives), which are the internal targets you hold yourselves to, and your SLAs (Service Level Agreements), which are the contractual promises made to customers, usually with financial consequences attached. Your SLOs should be stricter than your SLAs, so that you find out you are drifting before your customers do.
Measuring Reliability, then, means tracking performance against those targets over a window:
Reliability also acts as a brake on gaming the other four. A team can inflate Deployment Frequency and shorten Lead Time by shipping small, careless changes, and the damage will not always show up in Change Failure Rate if nothing technically fails. It will show up as an eroding error budget. Guarding against that is largely a testing problem, and continuous testing improves DevOps efficiency precisely because it catches the regressions that quietly spend the budget.
Deployment Rework Rate is an emerging companion metric that elite teams are starting to track alongside these five. It measures the share of deployments that required unplanned follow-up work, such as a hotfix, a patch, or a rollback, to reach a working state. Where Change Failure Rate counts outright failures, Deployment Rework Rate catches the quieter cost of changes that shipped, technically worked, and still had to be redone.
Note: Catch failures before they burn your error budget. Try TestMu AI Today!
To implement the DORA metrics, you can follow these steps:
1. Set Up Tracking Systems: Ensure your Version Control System (VCS) and CI/CD pipelines are correctly set up. Tools like GitHub or GitLab should be integrated with the best CI/CD tools like Jenkins or CircleCI to capture data on commit times, deployment frequency, and release times
Use DevOps monitoring tools like Prometheus, Datadog, or New Relic for real-time system performance tracking to measure Time to Restore Service and Change Failure Rate. The same tools supply the SLI data behind the Reliability metric. Incident management tools such as Jira or ServiceNow are key for tracking downtime and recovery efforts.
2. Automate Data Collection: Once your systems are set up, automate the collection of key metrics. Your CI/CD tool should log every production deployment to track Deployment Frequency. For Lead Time for Changes, calculate the time between code commits and when the changes are deployed to production.
Track Change Failure Rate by marking deployments as either successful or failed, with failures requiring a rollback or fix. To calculate Time to Restore Service, use monitoring and incident management tools to track how long it takes to restore service after an outage, measuring from the start of user-facing impact rather than from the moment the ticket was opened.
3. Define a Baseline: Set a baseline for each of the DORA metrics before making improvements. Measure your current lead time or deployment frequency over a month or sprint to establish a starting point. This will help you compare against improvements.
4. Analyze and Act on the Metrics: Regularly analyze the metrics to identify bottlenecks or areas for improvement. If the lead time is too long, pinpoint where delays occur in the CI/CD pipeline, such as during testing or code review.
A high Change Failure Rate may require investigating testing, deployment procedures, or code quality. Collaborate with your team to find solutions and improvements, using automation and better tools to optimize the metrics.
5. Monitor and Iterate: DORA metrics should be monitored continuously to track progress and make necessary changes. Evaluate whether improvements have had the desired impact. Adjust and refine processes based on the metrics. For instance, if lead time improves but Time to Restore Service does not, focus on optimizing incident management next.
If you would rather not build this plumbing from scratch, Google publishes a reference implementation that does most of it for you.
Google maintains an open-source project called Four Keys that collects the four original DORA metrics from your existing tooling and renders them on a dashboard. It is worth knowing about before you buy a DORA product or write your own collectors, because it answers the hardest question for you, which is where the numbers come from.
The Four Keys pipeline is a straightforward extract, transform, and visualize chain built on Google Cloud services, and it will feel familiar if you have built a Google Cloud CI/CD pipeline before:
Two caveats are worth setting expectations on. Four Keys is a reference implementation, not a supported product, so you own it once it is running and it will bill against your Google Cloud project. It also covers only the original four metrics, which means Reliability still comes from your SLO tooling. Even if you never run it in production, the source is a useful specification of how each metric can be derived from raw events.
DORA metrics have a blind spot, and it is a big one. They start at the commit. Lead Time for Changes begins when a developer commits code, which means every DORA metric measures only the part of the process that engineering already controls. Teams that automate their pipeline hard often hit a wall here: the metrics look good, and the business still waits months for features.
Value Stream Management (VSM) is the practice of mapping the full path from initial idea to production value, including everything upstream of that first commit. A VSM map covers the wait time in intake and prioritization, product and design approvals, security and compliance reviews, and the handoffs between the teams that own each step.
The two work well together because they measure different segments of the same line. Consider a team with an elite Lead Time for Changes of under an hour whose features still take four months to reach customers. DORA cannot explain that, because the delay is not in the pipeline. A value stream map makes it obvious: the idea sat in a backlog for eight weeks and waited three more on a quarterly architecture review board. No amount of CI/CD tuning touches eleven weeks of queue time, which is why agile release planning often moves the needle more than pipeline work at this stage.
Used together, DORA tells you how well the engine runs, and VSM tells you whether the engine is the bottleneck at all. The practical move is to map the value stream first to find where time is actually lost, then use DORA to measure and improve the delivery segment once you have confirmed that segment is worth optimizing. If the map does point at delivery, automation testing in the CI/CD pipeline is usually where the time goes.
Now that you understand how to implement DORA metrics to speed up your software delivery process let’s explore some real-world use cases for a better understanding.
Here are the real-world use cases of DORA metrics, which will help you get through its practical use:
Implementing DORA metrics has the potential to change DevOps procedures, although there are challenges involved, and several of them overlap with the CI/CD pipeline challenges teams already know well.
Here are a few typical obstacles and effective strategies to overcome them:
Solution: Invest in DevOps automation tools such as Jenkins, GitLab CI/CD, Datadog, or Prometheus to automate data collection. Automation ensures accurate, real-time insights with minimal effort.
Solution: Foster a culture focused on improvement and collaboration. Emphasize that DORA metrics aim to enhance processes, not evaluate individuals. Involve teams in decision-making and highlight workflow improvements.
Solution: Integrate systems across development, testing, and operations. Use centralized dashboards like Grafana or Splunk for better data visibility.
Solution: Establish clear standards for data collection and interpretation. Define what constitutes a “failure” or “deployment” and document these standards for uniform application. Teams running multiple testing environments should also agree on which ones count as production for DF purposes.
Solution: Treat DORA metrics as indicators of progress, not end goals. Balance them with practices like thorough testing and code reviews to maintain quality.
Solution: Train teams on the meaning and implications of each metric. Provide actionable insights, such as analyzing patterns in recurring outages to reduce Time to Restore Service.
Solution: Start with one or two metrics that address immediate priorities, such as Deployment Frequency or Time to Restore Service. Gradually expand as you observe benefits, reducing the initial burden.
Solution: Demonstrate the business value of DORA metrics, such as faster delivery and improved reliability. Use industry benchmarks to show how they align with company goals.
Solution: Use tools designed for observability in distributed systems, like Honeycomb or Lightstep, to gain visibility across teams and architectures.
Solution: Set realistic expectations, emphasizing that improvements take time. Celebrate small wins, like resolving bottlenecks, to keep teams motivated while pursuing long-term goals.
Implementing DORA metrics can undoubtedly bring improvements, but as we’ve seen, there are several challenges that teams often face, from tool integration and data consistency to resistance to change and unrealistic expectations. By addressing these obstacles with the right strategies, teams can better track and optimize metrics like Time to Restore Service, deployment frequency, and change failure rate.
To help overcome some of these challenges and streamline the DevOps process, leveraging a cloud-based platform like TestMu AI can make a significant difference. TestMu AI is an AI-native test execution platform that enables teams to run automated tests at scale across various environments, eliminating the need for complex setup or maintenance.
It seamlessly integrates with popular DevOps testing tools and CI/CD pipelines, allowing teams to optimize their testing workflows and focus on improving key DORA metrics like deployment frequency and Time to Restore Service. With real-time insights and the ability to test in distributed systems and microservices, TestMu AI provides comprehensive visibility across applications, helping teams stay on top of progress and focus on high-priority tasks.
DORA metrics are crucial for improving software delivery. The four original keys measure deployment frequency, change speed, and stability, while the fifth metric, Reliability, keeps you honest about whether what you shipped is actually working for users. By tracking all five, you can identify strengths and areas for improvement, helping you consistently deliver high-quality software.
These metrics serve as practical guides for teams aiming to enhance performance and meet modern development demands. They focus on progress, not perfection, helping you achieve greater efficiency and reliability over time. Pair them with solid DevOps best practices and the numbers tend to follow.
A Framework for Automating the Measurement of DevOps Research and Assessment (DORA) Metrics: https://www.researchgate.net/
DevOps Research and Assessment (DORA) metrics: https://docs.gitlab.com/
Take the DORA Quick Check: https://dora.dev/quickcheck/
DORA’s software delivery performance and reliability metrics: https://dora.dev/
Four Keys, Google’s open-source DORA metrics pipeline: https://github.com/dora-team/fourkeys
Author
Nazneen Ahmad is a freelance Technical Content SEO Writer with over 6 years of experience in crafting high ranking content on software testing, web development, and medical case studies. She has written 60+ technical blogs, including 50+ top-ranking articles focused on software testing and web development. Certified in Automation Basic and Advanced Training - XO 10, she blends subject knowledge with SEO strategies to create user focused, authoritative content. Over time, she has shifted from quick, keyword-heavy drafts to producing content that prioritizes user intent, readability, and topical authority to deliver lasting value.
Did you find this page helpful?
More Related Blogs
TestMu AI forEnterprise
Get access to solutions built on Enterprise
grade security, privacy, & compliance