The four delivery metrics, measured honestly
Deployment frequency, lead time, change failure rate and recovery time are simple to define and easy to get wrong. How to measure them from systems you already have.
By DevOps.ae. Published 21 November 2026. 4 minute read.
The DORA research programme has spent more than a decade studying what separates teams that deliver software well from teams that do not. Its best-known result is that four measurements, taken together, describe delivery performance, and that speed and stability rise together instead of trading against each other.
The four are easy to state. Measuring them in a way that tells you the truth takes more care, because each has a definition that can be bent until the number looks good.
The four
Deployment frequency. How often you release to production.
Lead time for changes. How long a change takes to go from committed to running in production.
Change failure rate. The share of deployments that cause a failure needing a fix, a rollback or a patch.
Recovery time. How long it takes to restore service after a deployment has failed.
The first two measure speed. The second two measure stability. A team that improves one pair by sacrificing the other has not improved, which is why they are only useful together.
DORA has since added a fifth measure, rework rate, to capture unplanned work. The original four remain the core, and they are where to begin.
Record one event and derive the rest
Almost everything can be calculated from a single event, emitted by your pipeline each time it deploys to production:
{
"service": "payments-api",
"environment": "production",
"deployed_at": "2026-11-18T09:42:10+04:00",
"version": "4f2a9c1",
"commits": [
{ "sha": "4f2a9c1", "committed_at": "2026-11-18T08:15:02+04:00" },
{ "sha": "b81e77d", "committed_at": "2026-11-17T16:40:51+04:00" }
],
"result": "succeeded"
}
Send it wherever you can query it: a table in a database is enough. Add a second kind of record when a deployment is found to have caused a failure, pointing back at the deployment and carrying the time service was restored.
From those two records:
- Deployment frequency is a count of successful production events per service per week.
- Lead time is
deployed_atminuscommitted_at, for every commit in every deployment. Report the median, because one change that waited three months will distort an average. - Change failure rate is deployments with a failure record, divided by all deployments.
- Recovery time is the restore time minus the time of the deployment that caused the failure.
Where the numbers go wrong
Counting the wrong deployments
A deployment to staging is not a deployment. Neither is a pipeline run that built an artefact nobody released. Count only changes that reached real users, and count a release behind a feature flag when the flag is turned on.
Starting the clock late
Lead time measured from merge flatters a team whose changes wait a week in review. Measured from first commit, it includes work in progress that was never ready to ship. Commit time is the usual compromise. Whichever you choose, write it down and keep it the same, because the trend matters more than the absolute figure.
Defining failure narrowly
If only declared incidents count as failures, the change failure rate measures how reluctant people are to declare incidents. Count any deployment followed by a rollback, a hotfix or a patch release, whether or not anyone opened a ticket.
Measuring the fix instead of the recovery
Recovery time ends when users are served correctly again, which is often a rollback within minutes. The root-cause fix that follows a week later is a different measurement.
Averaging everything together
An organisation-wide average hides the service that deploys once a quarter behind the ten that deploy daily. Measure each service, and look at the distribution.
How to use them
Compare a team with its own past. The metrics show whether a team is getting better. They are a poor way to rank teams against each other, because a payments ledger and a marketing site should not have the same numbers.
Never set them as targets. A team told to raise deployment frequency will split its releases into smaller pieces and deploy the same work more often. The number improves and nothing else does. Use the metrics to find where the delay or the fragility is, then fix that.
Read them in pairs. Frequency rising with failure rate steady means delivery has become faster and no less safe. Frequency rising while failure rate climbs means the safety net is not keeping up.
Look at them when deciding what to do next. A long lead time with rare deployments points at batch size and manual steps. A high failure rate with slow recovery points at testing and rollback. The numbers do not tell you the answer, but they narrow down where to look.
A first reading without any tooling
If you have none of this in place, you can still estimate where you stand. Our DevOps maturity assessment asks about each of the four in plain terms and takes about ten minutes. It is a self-assessment, so treat it as a starting point, and replace it with measurement as soon as your pipeline can emit the event above.