Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

Purpose

Pipeline Mean Time to Recovery shows a an 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

Chart shows Pipeline Mean Time to Recovery in minutes - Axis Y by calendar week - Axis X. The number of series in the chart is a number of selected branches in Project Configuration for a Git Lab CI data source. Legend shows the last values of the metric by branch.

...

  • 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').

<picture is based on sample data>


image2018-12-22_10-33-44.pngImage RemovedImage Added


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

Nis N is a number of Red Pipeline Time segments

RAG thresholds: n/a.

Data Source

Data for the metric can be collected from GITLAB CI/Jenkins.

...