You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: docs/software-engineering-insights/harness-sei/analytics-and-reporting/efficiency.md
+32-1Lines changed: 32 additions & 1 deletion
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -100,4 +100,35 @@ This widget provides insights into how long it takes to recover from a failure o
100
100
101
101
The following options are available for this widget:
102
102
103
-
***View Breakdown**: Provides a detailed breakdown of restoration time by team.
103
+
***View Breakdown**: Provides a detailed breakdown of restoration time by team.
104
+
105
+
## Troubleshooting
106
+
107
+
### Lead Time for Changes
108
+
109
+
#### Why do some phases in the Lead Time widget show zero values even though we have correlated data across different systems?
110
+
111
+

112
+
113
+
This usually happens when the events defined in your Efficiency profile don’t align with the actual order of activities in your SDLC process. For example, if the profile is configured to measure Build Time as:
114
+
115
+
$$
116
+
\text{Build Time} = \text{First CI Build} - \text{Last PR Merged}
117
+
$$
118
+
119
+
then:
120
+
121
+
* Expected behavior: The first CI build should run after the last pull request is merged.
122
+
* Issue: If the first CI build happens before the last PR merge, the calculation results in a negative value. Negative values are reported as 0 in the widget.
123
+
124
+
**Common reasons you may see 0:**
125
+
126
+
* Process misalignment: For example in the above example a CI build triggers before the PR is merged.
127
+
* Profile definition conflict: The defined start and end events don’t reflect the real workflow.
128
+
129
+
**How to fix:**
130
+
131
+
* Set up the Destination Branch filter in your team settings so that only PRs merged into the correct branch are tracked.
132
+
* Review your SDLC workflow against the configured Efficiency profile to ensure event order matches reality.
133
+
134
+
In short: 0 values highlight workflow gaps or mismatches between how your process runs and how your Lead Time profile is defined.
0 commit comments