Operations · Operations & process management

DORA metrics for DevEx

Best for Startup to Growth

DEPLOYSLEAD TIMEFAIL RATEMTTR

Use it when

You need to know how fast and how safely a team gets changes into production, and which delivery constraint to fix first.

Skip it when

  • You need a broader view of developer productivity that includes satisfaction, collaboration and efficiency. Use SPACE framework instead.
  • You want one set of measures that combines these delivery metrics with developer experience and business impact. Use DX Core 4 framework, which builds on this one.

What to apply first and what to use instead are listed below.

Approaches

Quick Check in retrospectives

The team answers DORA's five-question Quick Check together and discusses the result in a regular retrospective.

  • Pro It takes minutes, needs no tooling, and keeps the talk on what the team will change.
  • Con Answers are estimates, so small shifts from one quarter to the next are hard to see.

Measured from system data

Deployment, commit and incident events are joined in a tool or query to calculate each metric for every service.

  • Pro It gives exact figures over any window and shows trends early.
  • Con Every team must define a change, a deployment and a failure precisely, and pipeline data alone misses real incidents.

Inputs

  • Deployment log
    Every production deployment for one application or service over the last 30 to 90 days, with timestamps, from the deployment pipeline.
  • Commit times
    When each change in those deployments was committed, from version control, linked by commit ID.
  • Failed deployments
    Deployments that needed immediate intervention, such as a rollback or hotfix, with the time service recovered, from incident and on-call records.
  • Unplanned deployments
    Deployments made to fix an incident in production during the window, from the incident tracker.
  • Team viewOptional
    Quick Check answers and notes from a value stream mapping session with everyone who builds, releases and runs the service.

Steps

  1. Pick one application or service, and write down what counts as a deployment, a failure needing immediate intervention and a recovery.
  2. Calculate the five metrics for the window, change lead time, deployment frequency, failed deployment recovery time, change fail rate and deployment rework rate.
  3. Lay them out as a throughput group and an instability group, and record them as the baseline.
  4. Map the value stream with the whole team and name the biggest constraint behind the weakest metrics.
  5. Commit to one improvement against that constraint, such as smaller batches, with a leading indicator like code review time.
  6. Measure again after the improvement cycle, review the change in a retrospective, and pick the next constraint.

Output

A delivery baseline for one service with the five metrics, the chosen constraint and the improvement plan.

  • Service and window
  • Change lead time
  • Deployment frequency
  • Failed deployment recovery time
  • Change fail rate
  • Deployment rework rate
  • Constraint and improvement
  • Leading indicator and owner

Done when

  • All five metrics are calculated for one service over one window, from written definitions.
  • Throughput and instability metrics are shown side by side.
  • One constraint is named, with an owner, a planned improvement and a leading indicator.
  • No metric is set as a target for the team or used to rank teams against each other.

Measure

Recalculate the five metrics after each improvement cycle, at least quarterly, with the same definitions. Compare each service with its own earlier baseline. It worked when throughput improves while change fail rate and deployment rework rate hold or fall. If speed rises and instability rises with it, the batch size or testing needs work before you push for more speed.

Benchmarks

  • Less than one day lead time, on demand deployment, 5 percent change fail rate, under one hour recoveryThe elite cluster, 19 percent of respondents, in DORA's 2024 survey of nearly 3,000 technology professionals worldwide. Clusters are drawn afresh from each year's answersAccelerate State of DevOps Report 2024DORA (Google Cloud), 2024
  • One day to one week lead time, daily to weekly deployment, 20 percent change fail rate, under one day recoveryThe high cluster, 22 percent of respondents, same 2024 surveyAccelerate State of DevOps Report 2024DORA (Google Cloud), 2024
  • One week to one month lead time, weekly to monthly deployment, 10 percent change fail rate, under one day recoveryThe medium cluster, 35 percent of respondents, same 2024 survey. It is slower than the high cluster but fails less oftenAccelerate State of DevOps Report 2024DORA (Google Cloud), 2024
  • One to six months lead time, monthly to twice-yearly deployment, 40 percent change fail rate, one week to one month recoveryThe low cluster, 25 percent of respondents, same 2024 surveyAccelerate State of DevOps Report 2024DORA (Google Cloud), 2024

Hypothetical example

A payments team at Ridgeway measured its checkout service over 60 days. It deployed twice a week, with a median change lead time of nine days. Four of 17 deployments needed a rollback or hotfix, and recovery took a median of five hours. Two further deployments were unplanned fixes for incidents. The value stream map showed changes waiting days for a weekly manual test run. The team automated the regression suite and set a leading indicator of hours from merge to test result. After the next 60 days it deployed daily, lead time fell to three days, and two of 41 deployments failed.

Common mistakes

  • Setting a metric as a target, such as a deployment count, which invites gaming. Use the metrics to choose and check improvements.
  • Building a large custom dashboard before any improvement starts. Begin with the Quick Check or a ready-made tool and spend the effort on the constraint.
  • Reading only pipeline data for stability. Link deployments to real incidents so change fail rate and recovery time reflect what users felt.

Sources

Show all 6 sources

By company stage

  1. Pre-IdeaNot applicableThere is no software service deploying to production.
  2. IdeaNot applicableDeployment history is too short and the team too small for meaningful metrics.
  3. Early StartupUsefulDeployment data exists and helps spot delivery issues, though a small team can see them directly.
  4. StartupCriticalSeveral teams shipping to production need shared delivery metrics to scale safely and find constraints.
  5. GrowthCriticalMany services and teams need consistent throughput and stability measures to keep pace.
  6. ScaleUsefulUseful baseline across many services, often complemented by broader frameworks.
  7. EnterpriseUsefulApplied per service across units, but typically folded into wider productivity measurement.

Apply first

Nothing. You can start here.

Use instead

  • SPACE framework

    use DORA when the question is software delivery speed and stability; use SPACE when you need a broader view that includes satisfaction, collaboration and efficiency.

  • DX Core 4 framework

    You want one set of measures that combines these delivery metrics with developer experience and business impact. Use DX Core 4 framework, which builds on this one.

Recommended resources

No sponsored resources on this framework yet. Sponsored listings would be labelled here, never in search.

Progress is not saved until you have an account. Create a free account