Overview

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.
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.
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.
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.
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.
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.
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.
Activity time at the review station before and after introducing review windows.
The four quadrants of deployment behavior.
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
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?
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.
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.
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.
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.
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.

FAQ

What is the main purpose of measuring software delivery metrics in this chapter?The purpose is to make hidden problems visible so the team can act on them. Good metrics reveal queues, stalls, and waste in the system; bad metrics reward busywork, create fear, and encourage gaming instead of improvement.
Why does the chapter emphasize measuring the system instead of individual people?Because most variation comes from the system, not the individual. Measuring people leads to blame and fear, while measuring the system helps teams find process bottlenecks and improve flow.
What is the difference between lead time and cycle time?Lead time is the full elapsed time from request to delivery, including waiting before work starts. Cycle time starts when work begins and ends when the item is completed or deployed, so it isolates execution time and excludes backlog wait.
Why is the gap between lead time and cycle time important?That gap represents queue time before work starts. If the gap is large, the biggest problem is usually prioritization, capacity, or backlog depth, not coding speed.
What is activity time, and why is it useful?Activity time is the time spent actively progressing a work item, such as coding, testing, debugging, or reviewing. It helps reveal how much elapsed time is real work versus waiting inside a station in the value stream.
What does activity ratio tell you?Activity ratio shows how much of the total delivery time is spent in active work rather than waiting. A low ratio usually means the system has significant waste and queues, not that developers are inefficient.
Why are averages often misleading for delivery metrics?Averages can hide important variation, such as a mix of fast items and a few very slow ones. The chapter recommends medians, percentiles, and distributions because they show the real shape of the system’s behavior.
What is a control chart used for in software delivery?A control chart helps distinguish normal variation from special causes that are worth investigating. It is used as a learning tool to spot unusual points or trends, not as a performance target.
Why can metrics become harmful when they are turned into targets?When a metric becomes a target, people often game it instead of improving the system. This is the optimization trap: the number looks better, but the actual delivery process gets worse.
What are examples of vanity metrics or risky metrics in software teams?Examples include lines of code written, story points completed, PR count, commit count, test count, and AI prompts used. These are dangerous when used alone because they can improve while customer value and system health do not.

pro $24.99 per month

  • access to all Manning books, MEAPs, liveVideos, liveProjects, and audiobooks!
  • choose one free eBook per month to keep
  • exclusive 50% discount on all purchases
  • renews monthly, pause or cancel renewal anytime

lite $19.99 per month

  • access to all Manning books, including MEAPs!

team

5, 10 or 20 seats+ for your team - learn more


Close
choose your plan

team

monthly
annual
$49.99
$499.99
only $41.67 per month
  • five seats for your team
  • access to all Manning books, MEAPs, liveVideos, liveProjects, and audiobooks!
  • choose another free product every time you renew
  • choose twelve free products per year
  • exclusive 50% discount on all purchases
  • renews monthly, pause or cancel renewal anytime
  • renews annually, pause or cancel renewal anytime
  • Build High Value Software Systems Build High Value Software Systems ebook for free
Close
choose your plan

team

monthly
annual
$49.99
$499.99
only $41.67 per month
  • five seats for your team
  • access to all Manning books, MEAPs, liveVideos, liveProjects, and audiobooks!
  • choose another free product every time you renew
  • choose twelve free products per year
  • exclusive 50% discount on all purchases
  • renews monthly, pause or cancel renewal anytime
  • renews annually, pause or cancel renewal anytime
  • Build High Value Software Systems Build High Value Software Systems ebook for free