Contact us
Tell us what you want to achieve with Faros AI and we’ll show you how.
Want to learn more about Faros AI?

Thank you!

You will get an email soon. Feel free to download Faros AI Community Edition.
Oops! Something went wrong while submitting the form.

All you need to know about the DORA metrics, and how to measure them

All you need to know about the DORA metrics, and how to measure them. | Faros.ai

Shubha Nabar
Shubha Nabar
7
min read
Browse Chapters
Share
November 6, 2024

The DORA metrics are a set of metrics that measure the quality and velocity of software delivery of an engineering organization. By measuring and continuously iterating on these metrics, engineering teams can deliver better software to their customers faster and achieve significantly better business outcomes.

Where did the DORA metrics come from?

The DORA metrics were put forth by the DevOps Research and Assessment (DORA) organization that synthesized several years of research studying engineering teams and their DevOps processes. The group publishes a yearly report called the State of DevOps Report, and was acquired by Google in 2018. In 2018 the group also published a widely acclaimed book called Accelerate on building and scaling high performing technology organizations.

Why are the DORA metrics interesting?

The DORA metrics are especially interesting because they correlate with actual business outcomes and employee satisfaction. In addition, they finally give the software engineering world a set of industry standards to benchmark against. It’s not an overwhelming set of indicators either. Turns out, just 4 key metrics are sufficient to distinguish truly elite engineering teams from mediocre ones.

graphic depicting differences between low performers and elite performers, with gains of: 127x faster lead time, 182x more deployments/yr, 8x lower change failure rates, and 2293x faster failed deployment recovery times

As the infographic taken from the State of DevOps Report 2024 depicts, elite engineering teams differ from mediocre ones by orders of magnitude on the DORA measures. Further, there isn’t necessarily a trade-off between quality and velocity as widely assumed. Elite performers both ship more frequently and with higher quality!

So what are the DORA metrics exactly?

The DORA metrics were inspired by lean manufacturing principles. The first two metrics are measures of software delivery velocity. They are:

1. Deployment frequency (DF): “How often an organization successfully releases to production”

This metric measures the frequency at which an organization successfully releases code to production. There is some latitude in how “production” is defined, depending on a team’s individual business requirements. But in essence, smaller, more frequent releases incur less risk and indicate a more predictable, consistent delivery of value to customers. Elite teams are able to deploy on-demand, typically several times a day, while lower-performing teams make more big-bang releases once every several months.

2. Lead Time: “The amount of time it takes for changes to get deployed to production”

This metric measures how long it takes on average for committed code to reach production. The metric is thus a measure of the efficiency of the DevOps toolchain and processes in an organization. Quicker deployments mean faster value delivery to customers. For elite teams, it typically takes less than an hour from when code gets checked in to when it gets deployed in production.

The next two metrics are measures of quality and stability in software delivery. They are:

3. Change Failure Rate (CFR): “The percentage of deployments that cause a failure in production”

This metric measures the quality and stability of the code that a team is shipping. It is calculated as the percentage of deployments that result in severe service degradation and require immediate remediation such as a rollback or a hotfix. For elite engineering teams, no more than 15% of their deployments result in degraded services.

4. Time to Restoration (MTTR): “How long it takes an organization to recover from a failure in production”

And finally, unplanned outages always happen. This last metric measures the time to recover from them and restore service availability for the end user. Elite teams typically take less than an hour to restore degraded services.

The table below taken from the State of DevOps Report 2024 summarizes four distinct performance profiles for engineering teams, with statistically significant differences in measures among them.

table depicting metrics across the 4 performance levels and 4 metric keys

How can you measure your DORA metrics?

Measuring and monitoring an organization’s DORA metrics can be difficult because the underlying data needed to compute them often comes from many different systems and isn’t always easy to correlate. For instance, in order to measure the average lead time for changes, you need to be able to compute the delta of all the changes that got shipped to production since the last release to production and average all of their lead times. This requires tracing data across your CI/CD systems, your artifact repositories, and your source control system for all the many applications that your organization deploys. This is hard enough to do for one application, but as organizations grow and tooling and pipelines explode, this can be an entirely non-trivial endeavor.

At Faros AI, we put a lot of thought into making it super easy for engineering teams to connect up their individual data sources to our EngOps Platform. Faros then does the hard work of connecting the dots between the data sources automatically. Hooking up known vendors such as GitHub, BitBucket, Jira, Jenkins etc. to the Faros AI Platform is as simple as clicking a button on the UI; custom home-grown systems can also be easily integrated with the Faros SDK. Faros AI manages all the data, imputes change-sets, correlates incidents with deployments, and so forth, to build a complete trace of every change from idea to production and beyond (and every stage in between). The result is DORA dashboards out of the box with no change in the development process.

Continuous improvement with data

With live DORA dashboards in place, engineering organizations can start to see where they stand relative to other engineering organizations, and what the scope for improvement is in their software delivery processes. The ability to slice and dice lead time or failure recovery time by application, DevOps team, and stage helps in identifying bottlenecks in processes — whether in code review, QA, build times, or triage. At the same time, trends over time enable organizations to assess the true impact of interventions — with data. More generally, engineering organizations can finally start to take a data-informed approach to improving the efficiency and effectiveness of their operations.

Ready to see Faros AI's DORA metrics dashboards in action?

Get in touch with us for a 1-on-1 walkthrough of our Dora metrics dashboards, or head on over to GitHub to get started today.

Contact us
Tell us what you want to achieve with Faros AI and we’ll show you how.
Want to learn more about Faros AI?

Thank you!

You will get an email soon. Feel free to download Faros AI Community Edition.
Oops! Something went wrong while submitting the form.

More articles for you

A 3-way gauge depicting the GitHub Copilot logo within the Launch-Learn-Run framework. GitHub Copilot Best Practice Essentials written at top.
Editor's Pick
Guides
AI
5
MIN READ

GitHub Copilot Best Practices for Optimizing Impact

Maximize your return with a complete guide to GitHub Copilot best practices.
October 22, 2024
A 3-way gauge depicting the GitHub Copilot logo within the Launch-Learn-Run framework. Focus on Phase 1: GitHub Copilot Best Practices: Launch
Editor's Pick
Guides
AI
4
MIN READ

How to Increase GitHub Copilot Adoption and Usage — Best Practices

Strategies to increase GitHub Copilot adoption to turn usage into impact.
October 22, 2024
A 3-way gauge depicting the GitHub Copilot logo within the Launch-Learn-Run framework. Focus on Phase 2: GitHub Copilot Best Practices: Learn
Editor's Pick
Guides
AI
8
MIN READ

How to Capitalize on GitHub Copilot’s Advantages — Best Practices

A guide to converting GitHub Copilot advantages into productivity gains.
October 22, 2024

See what Faros AI can do for you!

Global enterprises trust Faros AI to accelerate their engineering operations. Give us 30 minutes of your time and see it for yourself.