Designing a Dashboard for Flow Metrics
This lesson defines cycle time, lead time and time to recovery, and explains how to show them on a dashboard.
Learning outcomes
After completing this lesson, you will be able to:
- Distinguish lead time from cycle time.
- Explain where time to recovery data comes from.
- Identify suitable Azure DevOps widgets.
- Interpret a cumulative flow diagram.
Choosing measures that lead to decisions
A metric is useful only if a change in its value would make someone act differently. Before adding a chart to a dashboard, ask what decision it supports and who will make that decision. A count of commits has no such decision attached, whereas a rising cycle time prompts a team to look for a bottleneck. It is also wise to pair measures: a team that is judged only on speed will sacrifice stability, so a speed measure should appear beside a quality or stability measure.
The skills measured name three flow measures explicitly: cycle time, time to recovery and lead time. These terms have precise meanings, and exam options rely on the difference.
Lead time, cycle time and time to recovery
Lead time
In Azure Boards, lead time is the elapsed time from when a work item is created until it reaches a Completed state. It includes the time an item waits in the backlog, so it is close to what a requester experiences. A long lead time with a short cycle time means that items wait a long time before anyone starts them, which is a prioritization or capacity issue and is not a development problem.
Cycle time
Cycle time is the elapsed time from when a work item first enters an In Progress state until it reaches a Completed state. It measures how long the team takes once work has started. If an item is reactivated, the measure still runs from the first time the item entered progress until its final completion, so reopened work correctly appears as slower.
Time to recovery
Time to recovery, often stated as mean time to recovery (MTTR), measures how long it takes to restore service after a failure. It starts when the failure begins, or when it is detected if that is what can be measured, and ends when users are served normally again. Unlike the previous two, it does not come from work item states alone. It is usually derived from incident records or from alerts and their resolution in Azure Monitor.
The following example shows how lead time and cycle time differ for one work item.
| Event | Date | Effect |
|---|---|---|
| Work item created | 1 March | Lead time starts |
| Moved to Active | 15 March | Cycle time starts |
| Moved to Closed | 19 March | Both end |
| Result | 18 days lead time, 4 days cycle time | The item waited 14 days before work began |
Lead time and cycle time for one item
Azure DevOps dashboards and widgets
An Azure DevOps dashboard belongs to a team or a project, and it holds widgets. Team dashboards suit a team's own view, while project dashboards are suited to wider audiences. Dashboard permissions can restrict who edits them. Several widgets matter for flow.
- The Lead Time and Cycle Time widgets are scatter plots, with one dot per completed item. They show a rolling average and a standard deviation band, so that outliers are easy to find.
- The Cumulative Flow Diagram shows the count of items in each state over time. The vertical width of a band shows work in progress in that state, and the horizontal distance across the bands approximates cycle time.
- The Velocity and Burndown widgets support sprint planning.
- The Chart for Work Items widget draws the result of a saved query, and Query Results and Query Tile show a list or a count.
- Pipeline widgets show recent build history, and test widgets show pass rate trends.
Reading a cumulative flow diagram is a frequent exam task. If the band for a state widens over time, items are entering that state more quickly than they leave, so that state is a bottleneck. If the top line stops rising, no new work is arriving. If the Done line flattens while the others rise, the team has stopped finishing work, regardless of how busy it appears.
The following diagram sketches a cumulative flow diagram over eight weeks in which one band keeps widening, which reveals a bottleneck.

Reading flow widgets
Reading a chart
A cumulative flow diagram for the last eight weeks shows the In Test band growing from a height of 5 items to 40 items, while the In Development band stays constant at 10 items. The team's cycle time has risen. What is the most likely cause, and what should the team do?
The widening band identifies In Test as the bottleneck: items enter test more quickly than they leave. The team should limit work in progress in test and direct developers towards test automation, or towards helping with test work. Raising development capacity would feed more items into the queue. The constant In Development band shows that development is not the constraint, so increasing its limit would not help.
A team's cycle time is steady, but lead time keeps rising. What does this suggest?
Show answer
Items are waiting longer before work starts. The team works at the same pace, so the delay lies in the backlog or in prioritization.
Exam Tips
Remember for the exam
- Lead time starts at creation; cycle time starts at first entry to In Progress.
- A long lead time with a short cycle time means items wait in the backlog.
- A widening band in a cumulative flow diagram marks a bottleneck.
- Time to recovery comes from incidents or alerts, not work item states.
- Pair speed measures with stability measures.