Engineering KPIs

Most engineering metrics measure activity. Activity is easy to count and easy to inflate, which is why dashboards full of it tend to look healthy right up until something goes wrong. The metrics worth tracking measure outcomes: how quickly work reaches customers, and how often it breaks when it gets there.

The four that hold up

These come from the DORA research programme and have survived more scrutiny than anything else in this space. They are also readable without an engineering background, because all four are expressed in time or frequency.

MetricWhat it tells youHealthy direction
Deployment frequencyHow often finished work actually reaches customers. A proxy for batch size and confidence in the release process.Higher
Lead time for changesHow long from a change being written to it being live. Exposes queueing and manual steps that status meetings hide.Lower
Change failure rateWhat proportion of releases cause a problem needing a fix or rollback. The counterweight that stops the first two being gamed.Lower
Time to restore serviceHow long recovery takes when something breaks. Often more commercially important than preventing the breakage.Lower

The four work as a set. Deployment frequency alone rewards shipping recklessly; change failure rate alone rewards shipping nothing. Together they are hard to move without genuinely improving.

Metrics that get gamed

These appear on a lot of dashboards and are worth treating with suspicion:

The pattern: anything an individual can move on their own, without the product improving, will eventually be moved that way. Not through bad faith, just through ordinary response to measurement.

Reading them without being misled

A number on its own is rarely the story. Three habits help:

What these do not tell you

Delivery metrics say nothing about whether the right thing is being built. A team can score excellently on all four while shipping features nobody uses. They also say little about maintainability, security posture or key-person risk, which is why technical due diligence looks well beyond them.

For the practices that produce these outcomes rather than the outcomes themselves, see the DevOps maturity model. Levels 2 and 3 are what move all four of these numbers.

Common questions

What are the most important engineering KPIs?
The four DORA metrics are the most defensible starting point: deployment frequency, lead time for changes, change failure rate, and time to restore service. They measure outcomes rather than activity, which is what makes them hard to game.
Why are lines of code and story points bad KPIs?
Both measure activity, not outcome, and both are trivially inflated by the people being measured. Story points are also relative to a single team's own baseline, so comparing them across teams is meaningless even when nobody is gaming anything.
How often should engineering KPIs be reviewed?
Monthly is enough for trend, and weekly is usually noise. The exception is change failure rate after a significant process change, where you want to see the effect quickly.
Can a non-technical leader read these usefully?
Yes, and the DORA four are specifically readable without technical background because they are all expressed in time or frequency. The judgement required is in knowing which questions to ask when a number moves, not in understanding the number itself.

Related guides

Want this run against your own team?

The free Quick Score takes about two minutes and scores your engineering team across the five areas a buyer would probe. No source-code access, no call required.