[ADOP] Deployment Frequency to High-Level environments
[IN PROGRESS]
Purpose
‘Deployment Frequency to High-Level environments’ metric is intended for Azure DevOps Pipelines (ADOP) data source and measures the frequency of code changes deployments of successful and unsuccessful pipeline stages into high-level environments. As per Agile principles, a good practice is to deploy more frequently in a smaller chunks.
Primary Dimension: Productivity
Secondary Dimensions: -
How metric helps
The metric measures how often code is deployed to critical environments (e.g., staging, production). It reflects the speed, efficiency, and reliability of your software delivery process, giving teams insights into their ability to deliver value and adapt to change.
Why it is valuable:
Tracks Delivery Speed - indicates how fast updates and features are delivered.
Identifies Blockages - highlights inefficiencies slowing deployments.
Encourages Best Practices - promotes CI/CD and automation adoption.
Enhances Stability - frequent, smaller releases often mean reliable, tested code.
Improves Agility - enables quicker response to customer needs and market demands.
Condition | Potential risks | What to do |
---|---|---|
The metric is too high |
|
|
The metric is too low |
|
|
This metric acts as a compass for improving your software delivery process while balancing speed, quality, and stability.
When tracking and creating targets for this metric, it’s important to categorize the deployment frequency into larger buckets like the ones provided by DORA, instead of being meticulous about the actual number of deployments. Choose a goal like “multiple times a week” as opposed to three times a week, when a measure becomes a target, it ceases to be a good measure. The aim is not to hit specific numbers but rather to create a deployment system that’s fast, reliable, and flexible.
How metric works
Chart overview
The vertical bar chart shows a number of deployments to high-level environments (axis Y) on a timeline (axis X) selected via the metric parameters (start date, end date) and split by intervals (by week/month/quarter).
The metric is calculated based on the following default values selected in parameters:
StartDate - 01.09.2024
EndDate - 28.02.2025 (not included)
SplitBy - Month
Date format: DD.MM.YYYY
The parameters can be changed via the Configure Parameters option
On hover over a series a hint appears containing:
Timeline (StartDate + EndDate)
Deployment frequency
Number of deployments
Metric thresholds:
Red: -
Amber: -
Green: -
Clicking on a bar the Drill-down appears containing:
Run ID
Stage ID
Number of times
Date
Calculation
Deployment Frequency to High-Level environments is number of successful and unsuccessful pipeline stages runs into high-level environments. The stages are selected in Azure DevOps Pipelines data source configuration in 'Deployment to high-level environment' field (See also PERF Data Source - Azure DevOps Pipelines).
PerfQL
Data Source
Data for the metric can be collected from the Azure DevOps Pipelines data source (Import API type).