Skip to main content

Check out Port for yourselfย 

DORA metrics benchmark

In this guide, we will extend the work from the DORA Metrics guide by implementing scorecards to benchmark your services against the industry-standard DORA metrics, as detailed in the official DORA report (2024).
This allows you to evaluate your services' performance levels and identify areas for improvement.

DORA metrics are essential for measuring the efficiency and effectiveness of your software delivery performance.
By visualizing these metrics against industry benchmarks, you can:

  • Identify gaps in your software delivery process.
  • Set realistic goals for improvement.
  • Track progress over time.

This guide will walk you through creating a scorecard to benchmark your services' performance on the four key metrics: deployment frequency, lead time, change failure rate, and mean time to recovery.

Prerequisitesโ€‹

  • Complete the DORA Metrics guide, ensuring you have set up the necessary blueprints, properties, and data ingestion.

Benchmarksโ€‹

Before setting up the scorecard, it's crucial to understand the DORA benchmarks for each metric.
The DORA framework categorizes performance into four levels: Elite, High, Medium, and Low.
We will use these levels to represent the benchmarks on our scorecard.

Deployment Frequency measures how often your organization deploys code to production or releases it to end-users.
Frequent deployments can indicate a streamlined and efficient development process.

  • Elite: Multiple deployments per day.
  • High: Between once per day and once per week.
  • Medium: Between once per week and once per month.
  • Low: Less than once per month.

By understanding these benchmarks, you can effectively assess your services' current performance levels and identify specific areas for improvement.

Adjust thresholds

These benchmarks are consistent with the DORA report for 2024, but you can always adjust them based on your organization's specific needs.

Set up scorecardโ€‹

We will create a scorecard that assesses each service against the DORA benchmarks for the four key metrics.

  1. Click on the Builder icon in the top right corner.
  2. Search for the Service blueprint and select it.
  3. Click on the Scorecards tab.
  4. Click on + New Scorecard to create a new scorecard.
  5. Configure the scorecard with the following details:
Scorecard (click to expand)
{
"identifier": "dora_metrics_bnhmrk",
"title": "DORA Metrics",
"levels": [
{
"color": "blue",
"title": "Low"
},
{
"color": "purple",
"title": "Medium"
},
{
"color": "turquoise",
"title": "High"
},
{
"color": "paleBlue",
"title": "Elite"
}
],
"rules": [
{
"identifier": "deploy_freq_elite",
"title": "Deployment Frequency - Elite",
"description": "Service deploys multiple times per day.",
"level": "Elite",
"query": {
"combinator": "and",
"conditions": [
{
"property": "deployment_frequency",
"operator": ">=",
"value": 7
}
]
}
},
{
"identifier": "deploy_freq_high",
"title": "Deployment Frequency - High",
"description": "Service deploys between once per day and once per week.",
"level": "High",
"query": {
"combinator": "and",
"conditions": [
{
"property": "deployment_frequency",
"operator": ">=",
"value": 1
}
]
}
},
{
"identifier": "deploy_freq_medium",
"title": "Deployment Frequency - Medium",
"description": "Service deploys between once per week and once per month.",
"level": "Medium",
"query": {
"combinator": "and",
"conditions": [
{
"property": "deployment_frequency",
"operator": ">=",
"value": 0.25
}
]
}
},
{
"identifier": "lead_time_elite",
"title": "Lead Time - Elite",
"description": "Lead time is less than one day.",
"level": "Elite",
"query": {
"combinator": "and",
"conditions": [
{
"property": "lead_time_for_change",
"operator": "<",
"value": 24
}
]
}
},
{
"identifier": "lead_time_high",
"title": "Lead Time - High",
"description": "Lead time is less than one week.",
"level": "High",
"query": {
"combinator": "and",
"conditions": [
{
"property": "lead_time_for_change",
"operator": "<",
"value": 168
}
]
}
},
{
"identifier": "lead_time_medium",
"title": "Lead Time - Medium",
"description": "Lead time is less than one month.",
"level": "Medium",
"query": {
"combinator": "and",
"conditions": [
{
"property": "lead_time_for_change",
"operator": "<",
"value": 720
}
]
}
},
{
"identifier": "cfr_elite",
"title": "Change Failure Rate - Elite",
"description": "Failure rate is less than 5%.",
"level": "Elite",
"query": {
"combinator": "and",
"conditions": [
{
"property": "changeFailureRate",
"operator": "<",
"value": 5
}
]
}
},
{
"identifier": "cfr_medium",
"title": "Change Failure Rate - Medium",
"description": "Failure rate is less than 10%.",
"level": "Medium",
"query": {
"combinator": "and",
"conditions": [
{
"property": "changeFailureRate",
"operator": "<",
"value": 10
}
]
}
},
{
"identifier": "cfr_high",
"title": "Change Failure Rate - High",
"description": "Failure rate is less than 20%.",
"level": "High",
"query": {
"combinator": "and",
"conditions": [
{
"property": "changeFailureRate",
"operator": "<",
"value": 20
}
]
}
},
{
"identifier": "mttr_elite",
"title": "MTTR - Elite",
"description": "Recovery time is less than one hour.",
"level": "Elite",
"query": {
"combinator": "and",
"conditions": [
{
"property": "mean_time_to_recovery",
"operator": "<",
"value": 60
}
]
}
},
{
"identifier": "mttr_high",
"title": "MTTR - High",
"description": "Recovery time is less than one day.",
"level": "High",
"query": {
"combinator": "and",
"conditions": [
{
"property": "mean_time_to_recovery",
"operator": "<",
"value": 1440
}
]
}
},
{
"identifier": "mttr_medium",
"title": "MTTR - Medium",
"description": "Recovery time is less than one week.",
"level": "Medium",
"query": {
"combinator": "and",
"conditions": [
{
"property": "mean_time_to_recovery",
"operator": "<",
"value": 10080
}
]
}
}
]
}
  1. Click on Save to create the scorecard.

After setting up the benchmark on a service, it should look like this:

Visualisationโ€‹

To make the most of your new scorecard, add it to a dashboard for easy monitoring.
If you haven't set up a dashboard for visualizing the DORA metrics, set it up here

Add scorecard widgetโ€‹

To add the scorecard to your dashboard:

  1. Click + Widget and select Table.

  2. Title the widget DORA by team.

  3. Choose the Service blueprint.

  4. Click Save to add the widget to the dashboard.

  5. Click on the ... button in the top right corner of the table and select Customize table.

  6. In the top right corner of the table, click on Manage Properties and add the following properties:

    • Title: The name of each service.
    • DORA Metrics: The scorecard evaluation for each service.
    • Owning Team: The team that owns the service.
  7. Click on the Group by any Column option in the top right corner and select Owning Team.

  8. Click on the save icon in the top right corner of the widget to save the customized table.

The table widget should look like this:



Congratulations! ๐ŸŽ‰ You have successfully created a DORA Metrics Benchmark scorecard in Port.