Versions Compared

Key

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

...

Chart shows Red Pipeline Time % in % - 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.

When hover over a series hint appears:

  • <Branch name>: <metric value in %>
  • <Red Pipeline Time>: <value in min>

Next to the chart name there is a link to GIT repository ('arrow').

<picture is based on sample data>

image2018-12-17_11-26-29.pngImage Removed

Image Added



Calculation formula

The algorithm of finding a red pipeline:

1 PERF searches for a red pipeline.

2 When finds it, PERF checks if the next pipeline is green:

  • if green - PERF calculates Red Pipeline Time segment
  • if red  - PERF keeps searching the red status switched to green so that this red status becomes the first in the row of red statuses before the green one.

Red Pipeline Time segment calculation:

 Pipeline N-1 
Pipeline NGreenRed
Green0Green end time- Red end time
Red00
if N-1 prior to Red is also Red then go till the last Red

Red Pipeline Time % = ∑Red Pipeline Time segment/Time overall

...