9 Measuring what matters
Metrics are valuable only when they make hidden problems visible and point teams toward better flow. The chapter argues that software delivery should be measured at the system level, not at the level of individual performance, because queues, handoffs, approvals, and other structural delays often consume far more time than coding itself. It emphasizes that the key question for any metric is whether improving the number actually improves the system; if not, the metric is likely encouraging busywork, fear, or gaming instead of learning.
The core flow metrics are lead time, cycle time, activity time, and activity ratio, each revealing a different part of the delivery system. Lead time shows the customer’s full wait from request to release, while cycle time isolates the work from start to completion and helps reveal how much time is spent waiting before work begins. Activity time and activity ratio expose how much of the elapsed time is real progress versus queue time inside each station. Used together, and especially when decomposed by workflow stage, these measurements help teams identify whether the bottleneck is backlog depth, review delays, CI friction, deployment overhead, or some other structural constraint.
The chapter also warns against vanity metrics and careless dashboarding. Numbers such as lines of code, story points, commit count, or raw PR volume can be made to look good without improving delivery, so they should be paired with guardrail metrics like change failure rate, rework rate, or MTTR. Visual management should support improvement, not ranking, which is why Kanban boards and flow dashboards should show trends, distributions, and current constraints in a simple, timely way. The overall message is practical: measure what matters, display it where the team can act on it, and use the data to run small experiments that reduce waste and improve the system as a whole.
A 23-day lead time decomposed. Active work accounts for roughly 3 days. The remaining 20 days are waiting.
Every metric follows one of two paths. The left path improves the system. The right path games the number.
Ten tickets sorted by lead time. The median (p50) is the middle value, the point where half your tickets are faster and half are slower.
A lead time control chart. Ticket 9 breaches the upper control limit; that's a signal worth investigating, not a number to punish. The remaining tickets fall within the natural variation of the process.
Cycle time measures the span from when work started to when it is merged/deployed. Everything before "Work Started" is queue time, captured by lead time but not cycle time.
An outlier cycle time decomposed. The 8-day review wait is the dominant phase; that's the constraint, not coding speed.
Activity time at the review station before and after introducing review windows.
The four quadrants of deployment behavior.
Paired metrics expose gaming. If the speed metric improves but the guardrail degrades, someone optimized the metric, not the system
The typical three-column Kanban board. It answers one question: where is each ticket?
A dashboard Kanban board is read as a diagnostic tool. The Ready for Review section has five items, more than any other column, revealing a queue at the review station. Items can be color-coded by age. The queue, colors, and intention are visible at a glance.
Four signals hiding in plain sight on a Kanban board.
A minimal team flow dashboard. Six metrics, each answering a different question about system health.
The effect of PR size reduction on cycle time. Smaller PRs reduce both review wait time and rework cycles.
Summary
- Lead time (P50/P90) tracks the duration from request to delivery, helping to identify where the system stalls.
- Cycle time measures the period from when work starts to when it is deployed, with the gap between this and lead time representing the queue.
- Activity ratio compares active working time with total lead time, revealing how much of the delivery process is consumed by waiting rather than progressing work.
- Control charts plot metrics over time with set bounds, allowing teams to react only to significant outliers rather than normal variation.
- Guardrail pairs track speed and quality together, as speed metrics alone are prone to being gamed.
- Kanban boards should be used to analyze column depth, item age, and work-in-progress (WIP) to diagnose flow, rather than simply tracking individual tickets.
- Flow dashboards provide visibility into trends and distributions over weeks, which helps surface slow drifts in performance.
- When evaluating AI or other tooling, measure the impact on total lead time rather than individual station speed to identify the real system bottleneck.
Build High Value Software Systems ebook for free