...
Pipeline Mean Time to Recovery shows an the average time a pipeline takes to recover from a failure.
How metric helps
Pipeline Mean Time to Recovery helps to reveal an overall efficiency of an integration process and to highlight the most problematic entities (branches).
How it works
Chart overview
...
When hover over a series hint appears:
1st row <week start-end date>
2nd row <Branch name>: <metric value in %>
3rd row <Pipeline Mean Time To Recovery>
Next to the chart name there is a link to GIT repository ('arrow').
...
Calculation formula
Red Pipeline Time segment = timestamp of the pipeline 'red' status end - timestamp of the pipeline 'red' status start
Pipeline Mean Time To Recovery = ∑Time To Recovery/N,
where
Time To Recovery, min = timestamp of ‘green’ pipeline start - timestamp ‘red’ pipeline start;
...
Calculation is illustrated in the picture below:
...
Data Source
Data for the metric can be collected from Jenkins/GITLab CI. When using Jenkins make sure Pipeline plugin is installed.
excerpt-include |
---|
|