KPIs · Engineering

Engineering: KPIs

Six delivery measures for a pipeline where code is cheap, why lines and velocity are excluded, and the gate-effectiveness numbers that show whether the controls are real.

Markdown. No sign-up, no email.

When generation costs almost nothing, every measure of output volume becomes noise. More code is not an achievement; it is usually a liability with a longer maintenance tail.

These measure flow, quality and whether the gates are doing anything.

The six that matter#

MeasureDefinitionTargetHow it gets gamed
Change lead timeFirst commit to running in productionUnder 2 daysStarting the clock at the pull request rather than the first commit
Deployment frequencySuccessful production deploysDaily or betterBatching, then counting the batch as one healthy deploy
Change failure rateDeploys causing a rollback or hotfixUnder 15%Calling a hotfix a feature
Time to restoreDetection to service restoredUnder 1 hourMeasuring from when someone opened a ticket rather than when it broke
Escaped defect rateDefects found in production per released changeFallingReclassifying production defects as enhancements
Gate effectivenessShare of defects stopped by a gate rather than by a customerAbove 90%Loosening the gates, which improves the ratio by letting less get caught anywhere

The first four are the DORA set and they are used here because they resist the volume problem: none of them improves by writing more code.

Gate effectiveness is the one specific to this model. A pipeline of six automated gates either stops things or it is decoration, and the only way to tell is to count what each one caught against what reached a customer.

Gate-level numbers#

Reviewed monthly, per gate.

Per gateWhy
Times firedZero over a month is an investigation, not a success. Either it is misconfigured or work is routing around it
Times bypassed, and by whomA bypass with no recorded reason is a process failure regardless of outcome
False positive rateA gate people learn to ignore is worse than no gate: it produces the appearance of control
Defects it caught that no later gate would haveThis is what justifies the gate existing at all

Two counter-metrics#

Counter-metricCatches
Review depth on AI-generated changesVolume rising while human attention per change falls. The failure mode of cheap generation is not bad code, it is more code than anyone reads
Time spent on unplanned workA team hitting its delivery numbers by continuously repairing what it shipped last week

What is deliberately not measured#

  • Lines of code. Now actively misleading. Generation makes it trivial to grow and it correlates with maintenance cost, not value.
  • Commits or pull requests. Activity.
  • Velocity or story points. Estimates measured against themselves. They inflate quietly and nobody can say when it happened.
  • AI suggestion acceptance rate. Measures how agreeable the tool is, not whether the system improved. It is the vanity metric of this whole category.

Cadence#

WeeklyLead time, deploy frequency, change failure rate, unplanned work
MonthlyGate audit, escaped defects, review depth
QuarterlyTechnical debt review, and whether the targets above are still the right ones

The quarterly question is the one usually missing. A target that has been hit for four quarters is either genuinely solved or no longer measuring anything, and those two look identical until someone asks.

Back to Engineering

Get new material when it is published

Everything here is free and stays free. There is no form in front of any document. If you want to know when new guides and templates go up, leave an email.

Roughly monthly. Unsubscribe in one click. We do not share your address, and we will not call you.