Deployment frequency
This tile shows the average number of deployments per day within the selected timeframe. It provides a simple indicator of delivery throughput and helps teams quickly understand whether deployment frequency is increasing or declining.
Configuration
Configure the following in the tile editor:
- Data Source: Select Azure DevOps.
- Data Stream: Select Build Runs.
- Objects: Select the projects you want data from.
- Parameters > Result: Select Succeeded to filter by successful deployments.
Timeframe: Select the timeframe you want to track. Note that after adding a monitor or configuring a KPI the Use dashboard timeframe option is disabled.
- Filter | Group | Sort: Enable the SQL toggle then enter the following query and click Execute:
SELECT AVG(DeploymentsPerDay) AS avg_deployments_per_day FROM ( SELECT DATE_TRUNC('day', finish_time) AS Day, COUNT(*) AS DeploymentsPerDay FROM dataset GROUP BY Day ); - Visualization: Select Scalar.
- Mapping > Value: Auto - Avg Deployments Per Day is automatically selected.
- Click Save.