Gitlab Pipelines : Deployment Frequency
Gitlab Deployment Frequency measures the following metrics,
Selected Stages - As a part of settings, users can select the appropriate deployment stages. This metric shows the number of stages selected.
Average Deployment Frequency - For a selected date range, the average number of times the selected stages have been deployed. This is calculated based on (total number of times selected stages executed / total number of days selected).
Smart Indicator Trend Icon : The trend icon indicates whether the average deployment frequency has increased / decreased based on the previous equivalent time range. For example, if this week is selected in the date settings, then the trend compares against the previous week results.
Smart Indicator Previous Average : This previous average is calculated based on the previous time range results.
Total Pipeline runs - This is the total number of times pipelines have been executed in a given period of time. The pipeline runs are based on the stages selected. The total pipeline runs are calculated only if the selected stages are part of the pipeline. There may be differences in the total pipeline runs and total deployments. This is due to the pipelines being run, but the deployment stage might have failed/skipped.
Total Deployments - For the selected time range, this calculates the total number of times the selected stages have been executed.
Â
Â
The KPI has a settings panel with the following capabilities:
Settings
Â
Tags : (Currently disabled) supports all the project and application tags, and allows users to slice data into multiple dimensions/representations.
Deployment Stage : Gitlab pipelines allow users to provide/define stages however they want. Hence in order to capture the correct stage name in the calculations, users will be able to provide the production deployment stage as an input, and the lead time will modify itself accordingly.
Gitlab Projects : (Temporary) allows user to filter results based on list of projects.
Date picker : To measure lead time, and average time to merge for a specific time range.
Â
Data Point Settings
This is enabled for Average Deployment Frequency KPI, where users are allowed to set goals for the metric. The goals are split into three zones, Success, Warning and Failure, each having its own color indicators, and depending on that, the values will be shown in the UI.
There is a toggle which allows users to enable notifications for this Metric. More details can be fetched from How To : Enable GChat Notifications for GitLab Deployment Frequency KPI .
Â