Skip to content
From the blog

What Are DORA Metrics? The Five Metrics Explained

16 min read
What Are DORA Metrics? The Five Metrics Explained

Quick answer

  • What are DORA metrics? They are five measures of software delivery performance defined by the DORA research program: change lead time, deployment frequency, failed deployment recovery time, change fail rate, and deployment rework rate.
  • The first three describe throughput: how quickly changes reach production. The last two describe instability: how often deployments need fixing.
  • The older “four keys” list is out of date. DORA renamed the recovery metric in 2023 and added deployment rework rate in 2024.
  • The numbers are only as good as your event definitions. Decide what counts as a production deployment, a failure, and a recovery before you compare anything.
  • Use the metrics at team or service level to find where delivery slows down or breaks. They are not a score for individual developers.

Most engineering leaders know the term, but the answer to “what are DORA metrics?” has changed in the last few years, and many dashboards still show the old version. Teams also discover that two tools can report different numbers for the same service because each one counts deployments and failures differently. This guide explains the current five metrics, why there are five and not four, and how to calculate them from real events in your CI/CD and issue tracker. It includes a worked example on demo data, rules for missing data, and a simple way to check the results against your own incidents.

What Are DORA Metrics?

DORA metrics are five measures of software delivery performance published by DORA, the DevOps Research and Assessment program that is now part of Google Cloud. They tell you how fast changes move from commit to production and how often those changes cause problems.

Here is the dora metrics definition in one table, based on the current DORA metrics guide:

MetricWhat it measuresGroup
Change lead timeTime from a change being committed to version control until it is deployed in productionThroughput
Deployment frequencyHow often changes are deployed to production, as a count per period or the time between deploymentsThroughput
Failed deployment recovery timeTime to recover from a deployment that fails and needs immediate interventionThroughput
Change fail rateShare of deployments that need immediate intervention, such as a rollback or hotfixInstability
Deployment rework rateShare of deployments that are unplanned and happen because of an incident in productionInstability

The diagram below shows how the five metrics split into the two groups DORA uses today.

Figure 1. The five DORA metrics grouped into throughput and instability.
Figure 1. The five DORA metrics grouped into throughput and instability.

The grouping matters for reading the results. Throughput tells you whether delivery is fast. Instability tells you whether that speed comes at the cost of failed changes and unplanned work.

Why DORA Uses Five Metrics Now

DORA moved from four metrics to five in two steps. In 2023 it narrowed the recovery metric, and in 2024 it added deployment rework rate. Many articles and tools still show the older list.

The original “four keys” were deployment frequency, lead time for changes, change failure rate, and time to restore service, often called MTTR. According to DORA’s history of the metrics, the recovery metric caused confusion because it mixed failures caused by a deployment with outages that had nothing to do with software changes. In 2023, DORA renamed it failed deployment recovery time and limited it to failures caused by a deployment.

In 2024, DORA introduced deployment rework rate. Change fail rate had worked as a proxy for how much rework a team does, and the new metric measures that rework directly: unplanned deployments that happen because of a production incident.

ThenNowWhat changed
Four keysFive metricsDeployment rework rate added in 2024
Time to restore service (MTTR)Failed deployment recovery timeRenamed and narrowed to deployment-caused failures in 2023
Speed and stabilityThroughput and instabilityRecovery time is now grouped with throughput
Fixed performance tiers in older reportsResults read in contextCompare against your own baseline first

If your dashboard still shows MTTR across all incidents, it measures something broader than the current DORA metric. That is not wrong in itself, but label it clearly so nobody compares it with DORA’s published research.

The Five DORA Metrics Explained

Each metric answers one management question. The dora metrics list below gives the question, the basic calculation, and the most common trap for each.

Change lead time

Question: how long does a committed change wait before users get it?

Calculation: for each deployment, take the time from each included commit to the production deployment. Report the median and a high percentile such as P85.

Trap: many tools start the clock at merge to the main branch instead of the commit. Both are defensible, but they give different numbers. Write down which one you use.

Deployment frequency

Question: how often does the team ship to production?

Calculation: count production deployments per day, week, or month, or measure the time between deployments.

Trap: counting merges, staging deployments, or pipeline re-runs as production deployments. Each of these inflates the number without any change in how the team delivers.

Failed deployment recovery time

Question: when a deployment breaks something, how long until service is restored?

Calculation: time from the failed deployment to the first deployment or action that restores service. Report the median and the number of failures it is based on.

Trap: mixing deployment failures with outages from infrastructure or third-party services. DORA’s current definition covers deployment-caused failures only.

Change fail rate

Question: what share of deployments needs immediate intervention?

Calculation: failed deployments divided by total production deployments in the same period, times 100.

Trap: counting only failures that someone remembered to label. If teams fix problems quietly, the rate looks better than reality.

Deployment rework rate

Question: how much of our deployment capacity goes to fixing production incidents?

Calculation: unplanned deployments made because of a production incident, divided by total production deployments, times 100.

Trap: treating all bug fixes as rework. This metric counts unplanned, incident-driven deployments, not every ticket labeled “bug.”

How to Calculate DORA Metrics from Real Events

DORA metrics are only reliable when everyone agrees on which events count. Before you build a dashboard, write a short metric contract: what a production deployment is, what a failure is, what a recovery is, and how you handle gaps in the data.

What counts as a production deployment

A practical definition is a successful CI job that deploys code to an environment you have marked as production. In AndonPulse, deployment data comes from GitHub Actions and GitLab CI, and for each service the team specifies which environment is production.

Three filters keep the count honest:

  • Production only. Staging and test environments are excluded. Otherwise each change can be counted twice.
  • No pipeline re-runs. Running the same pipeline again with the same commit is neither a new deployment nor a rollback.
  • Deployments, not merges. For a team that releases once a week, counting every merge to main can multiply deployment frequency several times over while the process stays the same.

What counts as a failure and a recovery

A deployment counts as failed when it needs immediate intervention. In practice, that intervention leaves one of four traces:

SignalHow the failed deployment is identifiedRecovery time runs until
RollbackA version that was already in production is deployed again. The deployment before the rollback is the failed oneThe rollback deployment
RevertA revert commit or revert pull request undoes a change. The failed deployment is the one where that change first reached productionThe deployment that contains the revert
HotfixThe team defines what a hotfix is: a pull request label, a branch prefix, or a Jira issue type. A link to an issue or release ties it to a specific deploymentThe hotfix deployment
IncidentThe team records the failure as an incident in JiraThe status the team marked as “service restored”

Two rules prevent double counting and false failures. First, a recovery is linked to a deployment only within an attribution window, for example 72 hours, so a fix shipped two weeks later does not turn an old deployment into a failure. Second, if several signals point to the same deployment, such as a revert and an incident, it counts as one failed deployment, and recovery time runs to the first fix.

Some fixes leave no trace. If a feature flag is switched off quietly or a configuration is changed outside the repository and nobody records an incident, the failure stays invisible to any tool that reads Git, CI, and Jira. Agree up front that such fixes are recorded as incidents.

A worked example

The demo ledger below shows one month for one service. There are 20 production deployments. Two of them failed, and three unplanned deployments were made to fix them.

DeploymentEventCounts as
D7Release with a payment bugFailed deployment
D8Rollback to D6, 40 minutes after D7Recovery for D7, incident-driven rework
D9Hotfix that ships the corrected payment changeIncident-driven rework
D15Release that breaks a search filterFailed deployment
D16Revert deployed 2 hours 10 minutes after D15Recovery for D15, incident-driven rework
The other 15Planned releasesNormal deployments

The visual below lays the same month out as a timeline, so you can see where the failures and the corrective deployments fall.

Figure 2. 20 production deployments in one month, with 2 failed deployments and 3 corrective deployments.
Figure 2. 20 production deployments in one month, with 2 failed deployments and 3 corrective deployments.

From this ledger, the metrics follow directly:

  • Deployment frequency: 20 deployments per month, or about 5 per week.
  • Change fail rate: 2 failed ÷ 20 deployments = 10%.
  • Deployment rework rate: 3 incident-driven deployments ÷ 20 deployments = 15%.
  • Failed deployment recovery time: 40 minutes and 2 hours 10 minutes. With only two failures, report both values rather than a median.

Note that the corrective deployments D8, D9, and D16 also count toward deployment frequency. That is consistent with DORA’s definitions, but it means a team in trouble can look busier. Read the throughput and instability groups together.

Rules for missing data

Unknown data should stay unknown. Replacing a gap with zero creates a result that looks better than reality.

SituationShowDo not show
No failed deployments in the periodRecovery time: not applicable, with the count of zero failuresRecovery time of 0
No deployments in the periodDeployment frequency 0; change fail rate not applicableChange fail rate of 0%
Hotfix without a link to an issue or releaseLinked to the previous deployment of that service, and marked as an assumed linkA silent guess presented as fact
Incidents tracked outside JiraA note that recovery data is incompleteRecovery time based on partial data without a warning

Change lead time is not cycle time

Change lead time starts at the commit and ends in production. Cycle time usually starts when work on an issue begins and ends when the issue is done. A team can have a short change lead time and a long cycle time when most of the waiting happens before code is written, for example in refinement or on a dependency. Use both, and do not swap one for the other in reports.

How to Use DORA Metrics to Improve Delivery

Use DORA metrics as signals that tell you where to look, then follow the signal to the service, the stage, and the evidence before you change anything. The improvement comes from the change, not from the metric.

A practical sequence looks like this:

  1. Set a baseline. Use the last 2–3 months for each service, with stable definitions.
  2. Pick one signal. For example, change lead time grew from 2 to 4 days for one service.
  3. Find the stage. Split lead time into waiting for review, review, waiting for deployment, and deployment.
  4. Check the evidence. Open the pull requests and deployments behind the change.
  5. Change one thing and re-measure. For example, limit pull request size or add a reviewer rotation.

Here is a real example of step 3. A B2B SaaS company with 40 engineers in 5 teams split its task cycle time into waiting for first review, review, and after review. Over 4 months, the median wait for the first review fell from 2 working days to 1, and median task cycle time fell from 8 to 6 working days. This was a cycle time improvement, not a measured change in all five DORA metrics, but it shows how a stage breakdown turns a slow number into a specific fix. Pull request analytics is built for this kind of breakdown.

Keep a definition-change log

A change in definitions can look exactly like a change in performance. If you switch from counting merges to counting production deployments, or start filtering staging, the chart jumps while the process stays the same.

The demo chart below shows what happens to deployment frequency when the definition changes and the team does not.

Figure 3. Deployment frequency jumps when merges to main start counting as deployments, while the release process stays the same.
Figure 3. Deployment frequency jumps when merges to main start counting as deployments, while the release process stays the same.

Record every definition change with its date, mark it on the charts, and if possible calculate the old and new definitions in parallel for a few weeks. Then nobody reports a jump like the one in Figure 3 as an improvement.

Check the classification against real incidents

Before you trust change fail rate, test it against incidents you already know about. Take 15–20 real incidents from the last quarter from your incident log or postmortems. For each one, find the deployment in your DORA data and check whether it is marked as failed and which evidence it points to. Count three things: failures found correctly, failures missed, and deployments marked as failed by mistake.

Missed failures usually mean the team fixed the problem with a feature flag or shipped a hotfix without the agreed label. Fix the rule, not the number. It also helps to show change fail rate by signal source, because the sources differ in precision: rollbacks and reverts are rarely wrong, while a hotfix without a link to an issue is matched by assumption.

What DORA Metrics Cannot Tell You

DORA metrics describe how a delivery system performs. They do not measure developer productivity as a whole, and they are not designed to rate individuals.

Keep these limits in mind:

  • Individual performance. Deployments, failures, and recoveries belong to services and teams. Rating people by them pushes teams to game the numbers and to avoid risky but necessary changes.
  • Overall productivity. The SPACE framework explains why no single activity metric can represent developer productivity. DORA covers delivery, not satisfaction, collaboration, or the quality of design work. For a wider measurement system, see our guide on how to measure developer productivity.
  • Comparisons across different systems. A mobile app with store review, a backend service with continuous deployment, and an internal library have different release models. Compare each one with its own baseline.
  • Universal “good” scores. DORA publishes performance clusters for each year’s survey, but the thresholds depend on the sample and the year. Use them for context, not as targets.
  • Work before the commit. Planning, refinement, and waiting on dependencies happen before change lead time starts.

How AndonPulse Connects DORA Signals to Delivery Work

AndonPulse calculates all five DORA metrics from your CI/CD, Git, and Jira data and links every number to the deployments, pull requests, and incidents behind it. The definitions follow your setup, and the manager decides what to change.

Deployments come from successful production jobs in GitHub Actions and GitLab CI, with production environments set per service and pipeline re-runs filtered out. Failures and recoveries are detected from rollbacks, reverts, hotfixes, and Jira incidents. Your team decides what counts as a hotfix and which Jira status means service is restored, and the attribution window keeps late fixes from creating false failures. Supported sources are listed on the integrations page.

The screen below shows how a single failed deployment looks in AndonPulse, with the rule that flagged it and a link to the evidence.

Figure 4. A failed deployment in AndonPulse with the rule that flagged it, the linked evidence, and change fail rate by signal source (demo data).
Figure 4. A failed deployment in AndonPulse with the rule that flagged it, the linked evidence, and change fail rate by signal source (demo data).

From there, a manager can open the change lead time for the same service, see which stage grew, and go down to the pull requests waiting in review. When a definition changes, the date of the new rule is marked on the charts, so a jump in the data is not mistaken for a change in delivery. The DORA metrics platform page shows each metric in more detail.

If a quiet feature flag switch or a configuration change outside the repository fixed a problem, AndonPulse will not see it unless the team records an incident. We say this up front, because a metric is only as complete as the events behind it.

AndonPulse shows where delivery slows down or breaks and why. The manager chooses the response.

Final Takeaway

The answer to “what are DORA metrics?” is now five metrics, not four: change lead time, deployment frequency, failed deployment recovery time, change fail rate, and deployment rework rate. Their value depends less on the dashboard and more on the event definitions behind it.

Start tomorrow with one service. Write down what counts as a production deployment, which signals mark a failure, and when recovery ends. Pull the last quarter of data, then check it against 15–20 incidents you already know about. Once the numbers match reality, use them to find the stage where delivery slows down.

FAQ

Are there four or five DORA metrics?
There are five. The original four keys were deployment frequency, lead time for changes, change failure rate, and time to restore service. In 2023, DORA renamed the recovery metric to failed deployment recovery time, and in 2024 it added deployment rework rate. Older articles and some tools still show the four-metric list.
What is deployment rework rate?
Deployment rework rate is the share of production deployments that are unplanned and happen because of an incident in production. For example, if 3 of 20 deployments in a month were rollbacks, reverts, or hotfixes made in response to incidents, the rate is 15%. It does not count every bug fix, only incident-driven deployments.
Is MTTR still a DORA metric?
Not in its original form. DORA replaced time to restore service, often called MTTR, with failed deployment recovery time in 2023\. The new metric covers only failures caused by a deployment, not outages from infrastructure or third parties. You can still track general MTTR, but label it separately from the DORA metric.
How is change lead time different from cycle time?
Change lead time runs from a commit to its deployment in production. Cycle time usually runs from the start of work on an issue to its completion. Cycle time includes work before the first commit, such as analysis or waiting on a dependency, while change lead time does not. Most teams need both.
What is a good DORA score?
There is no universal good score. DORA groups survey respondents into performance clusters each year, and the thresholds depend on that year’s sample. A better target is improvement against your own baseline for each service, with throughput and instability read together, so faster delivery does not hide more failures.
Can DORA metrics measure individual developers?
No. DORA metrics describe how a delivery system performs at team or service level. Deployments, failures, and recoveries usually involve several people and shared infrastructure. Using them to rate individuals encourages gaming and discourages necessary changes. For people-related questions, use developer experience feedback and conversations, not delivery metrics.
How can a small team start tracking DORA metrics?
Start with one service. Mark the production environment in your CI/CD, decide how rollbacks, reverts, and hotfixes are labeled, and record production failures as incidents. Calculate the five metrics for the last 2–3 months as a baseline, check them against known incidents, and review them monthly together with the work behind them.

See DORA Metrics in Your Own Delivery Data

Bring one service and last quarter’s incidents. In a guided demo, you will see its five DORA metrics calculated from your CI/CD, Git, and Jira data, the evidence behind every failed deployment, and the stage where changes wait the longest.

Mykola Lisivka
About the author

Engineering manager and founder of AndonPulse. Writes about making engineering delivery more predictable with useful, actionable insights.

Read more by this author →