· Sourceplane engineering · Delivery · 3 min read

Measuring delivery without gaming it

Lead time, deploy frequency, change failure rate and time to restore are the most useful numbers an engineering team can track. They are also easy to turn into targets that make things worse.

If you want to know whether a team’s delivery is getting better or worse, four measurements tell you most of what you need. They come from the research behind the DORA reports, and they have held up well because they balance speed against stability:

  • Lead time for changes: how long it takes a committed change to reach production.
  • Deployment frequency: how often the team deploys to production.
  • Change failure rate: the proportion of deployments that cause a failure needing remediation.
  • Time to restore service: how long it takes to recover when something does fail.

The first two describe throughput. The last two describe stability. The important finding is that they move together: teams that deploy small changes often also tend to fail less and recover faster. Speed and stability are not a trade-off; they come from the same practices.

Measure from the pipeline, not a survey

These numbers are only useful if they are accurate and cheap to produce. The best source is the delivery system itself:

  • Lead time from the commit timestamp to the production deploy that included it.
  • Deploy frequency from production deploy events.
  • Change failure rate from deploys followed by a rollback, a hotfix or an incident linked to that change.
  • Time to restore from incident start and resolution times.

If producing the numbers requires someone to fill in a spreadsheet, they will be late, approximate and eventually abandoned.

How metrics get gamed

Any number used as a target changes behaviour. With delivery metrics, the failure modes are predictable:

  • Deploy frequency as a target produces empty or trivial deploys.
  • Change failure rate as a target produces under-reporting: incidents get reclassified, rollbacks get called something else.
  • Lead time as a target encourages skipping review or tests to hit the number.
  • Comparing teams on these numbers punishes the team with the hardest system and rewards the one that games best.

None of this means the metrics are bad. It means they work best as a mirror for the team, not as a scoreboard for management.

Using them well

  • Look at trends, not values. Is lead time getting shorter this quarter? Did the failure rate rise after a change in process? The direction matters more than the number.
  • Read all four together. A rise in deploy frequency with a rise in failure rate is a warning, not a win.
  • Let the team own them. The team chooses what to improve and decides whether it worked.
  • Ask why, not who. A long lead time usually points to a queue: waiting for review, for a test environment, for a release window. Find the queue.

What actually moves the numbers

The practices behind good delivery metrics are well known, and none of them is a metrics programme:

  • Small changes, merged to the main branch often.
  • Automated tests and checks that are fast and trusted.
  • A deploy that happens on merge, with no manual steps.
  • Environments that match, so staging catches what production would.
  • Smoke tests and automatic rollback after every deploy.
  • Monitoring that detects user-facing problems quickly.
  • Incident reviews whose actions actually get done.

Improve those, and the numbers follow.

A note on agents

Coding agents can raise deployment frequency dramatically, and with it the volume of changes that could fail. Track change failure rate and time to restore with particular care as agent use grows. If throughput rises while stability falls, the foundation is not keeping up. We wrote about why in platform discipline is the bottleneck of the agentic era.


How we help. We set up pipelines that measure delivery from real events, and work with your team on the practices that move the numbers. See CI/CD and environments, or talk to an engineer.

Share:
All articles