This article is based on concepts originally published by VersionOne. Images are sourced from the VersionOne blog.
Why DevOps Teams Need Better Metrics
Most engineering teams have reasonable visibility into what is happening inside a sprint: stories are tracked on a board, pull requests are reviewed, and builds are monitored in CI. The problem starts the moment a backlog item is compiled into a binary artifact. From that point forward, the connection between a business requirement and the software moving through staging, pre-production, and production environments becomes opaque. Without deliberate tracking, it is almost impossible to answer basic questions such as: How long did feature X actually take to reach production? or How much unplanned work has entered this release?
Building a data-driven DevOps organization requires solving this visibility problem first, and then converting that visibility into objective flow metrics. The four metric categories below address speed, efficiency, and risk across the entire delivery value stream.
Prerequisite: Visualizing Delivery Flow
Before any metric can be collected reliably, you need item affiliation: the ability to link a specific backlog item to the code commits that implement it, then to the binary artifacts produced from that code, and finally to track those artifacts as they advance through every stage of your value stream—build, test, staging, production. Without affiliation, metrics are either manual or incomplete.

Item affiliation also scales to portfolio-level questions. A product owner may want to know what proportion of an epic has already been released to end users, or how backlog items within a feature are distributed across value stream stages. This kind of portfolio-level flow visibility is what makes the metrics below actionable rather than theoretical.

Metric 1: Lead Time
Lead time measures how long it takes for the average work item to travel from the moment development begins all the way until it is in the hands of end users. It is the single most useful indicator of overall delivery speed.
Lead time is a lagging indicator—it tells you what already happened—but tracking it over time surfaces trends that drive improvement. If lead time is increasing sprint over sprint, something is slowing the value stream: accumulated technical debt, insufficient test automation, manual approval gates, or environment contention are common causes.

Practical tips for reducing lead time:
- Break work items into smaller units so each piece can flow through the pipeline faster.
- Identify the stage with the longest average dwell time and target it for improvement first.
- Automate manual handoffs between development, QA, and operations.
Metric 2: Delivery Work in Progress (WIP)
Most teams track WIP inside the development phase using Kanban boards or sprint backlogs. The gap opens up downstream: once stories are compiled into artifacts, WIP tracking usually stops. This means large batches of value can pile up in staging or pre-production without anyone noticing until a deployment deadline approaches.
Delivery WIP extends the concept of work in progress through every phase of the pipeline—build, integration testing, QA, staging, and production deployment. Measuring it at each stage makes bottlenecks visible in real time.

Little’s Law states that lead time equals WIP divided by throughput. Controlling WIP limits is therefore one of the most direct levers a team has for reducing lead time. If your staging environment routinely holds fifty work items while throughput remains constant, lead time will grow proportionally.
Metric 3: Touch Time and Wait Time
Borrowed from Lean manufacturing, touch time and wait time decompose cycle time at each pipeline stage into two components:
- Touch time — the period during which active, value-adding work is being performed on a work item (e.g., a tester is executing a test plan, a deployment script is running).
- Wait time — the period during which the work item is idle, waiting for the next activity to begin (e.g., a story has passed unit tests but no QA engineer has picked it up yet).

The ratio of touch time to total cycle time for a given stage is its process efficiency. A QA phase with a two-day cycle time but only four hours of actual test execution time has a process efficiency of roughly 25%. The remaining 75% is wait time—waste that can be systematically reduced.
Questions this metric helps answer:
- Which stage has the highest ratio of wait time to touch time?
- Are approvals or environment provisioning creating artificial queues?
- After automated tests complete, how long before the artifact is promoted to the next stage?
Identifying where wait time dominates allows teams to redesign handoffs, add automation, or adjust team capacity rather than guessing at the cause of slow delivery.
Metric 4: Risk Metrics
Flow metrics tell you how fast value is moving. Risk metrics tell you how safe that value is. Three risk-oriented measures are particularly useful in a DevOps context.
Rogue Commits
A rogue commit is a code change that cannot be traced back to a specific backlog item—a story, defect, or task. Measuring the percentage of commits in a release that are rogue provides a proxy for unplanned work and scope creep. A high rogue-commit rate suggests that changes are entering the codebase without product oversight, which increases the risk of unintended side effects and makes release auditing difficult.
Cyclomatic Complexity and Code Fragility
Cyclomatic complexity is a long-established code quality metric that counts the number of linearly independent paths through a program’s source code. High complexity correlates with higher defect rates and lower testability. Tooling to measure it at the codebase level has existed for years.
The more recent advance is correlating cyclomatic complexity with specific backlog items. With item affiliation in place, it becomes possible to ask: What is the average complexity of the code changed by this user story? or Which release—A, B, or C—touches the most fragile areas of the codebase? This shifts complexity from a retrospective code quality report into a forward-looking risk signal that stakeholders can act on before a release ships.
Rate of Change (Late-Stage Change Velocity)
A healthy delivery pipeline expects high rates of code change early in the value stream and progressively lower rates as work approaches production. Tracking rate of change at each pipeline stage makes this pattern explicit and measurable.
If commit frequency remains high in staging or continues after code-complete declarations, that is a risk signal. Late-stage churn is associated with higher defect escape rates and deployment failures. Making this metric visible to all stakeholders—not just developers—creates shared accountability for stabilizing releases on schedule.
Putting It Together: Building a Data-Driven DevOps Organization
The metrics above address different dimensions of delivery performance:
| Metric | Dimension | Primary Question Answered |
|---|---|---|
| Lead Time | Speed | How long does delivery take end to end? |
| Delivery WIP | Flow | Where is value accumulating in the pipeline? |
| Touch Time / Wait Time | Efficiency | Where is time being wasted between active steps? |
| Rogue Commits | Risk | How much unplanned work is entering releases? |
| Cyclomatic Complexity | Risk / Quality | Which backlog items increase codebase fragility? |
| Rate of Change | Risk | Is the codebase stabilizing as release date approaches? |
None of these metrics requires a specific toolchain, but all of them require item affiliation—the foundational capability that links business intent to code to artifact to deployment. Without it, the metrics become estimates at best. With it, they become the objective feedback loop that allows teams to continuously identify constraints, run experiments, and verify improvements.
The goal is not to optimize any single metric in isolation. Reducing WIP limits without addressing touch time can simply make wait time more visible without eliminating it. Tracking lead time without understanding its components provides no guidance on what to change. Used together, these metrics give engineering leaders and product owners a coherent picture of delivery health and a prioritized list of improvement opportunities.