DORA metrics show how quickly a team gets from a commit to working code in production and how reliably it does so. The team calculates them from the history of its own deployments and incidents, so they are used to judge delivery and to plan improvements.
The four metrics
| Metric | What it measures | Process aspect |
|---|---|---|
| Deployment frequency | how often the organisation successfully releases code to production | speed |
| Lead time for changes | how long a commit takes from being recorded in the version control system to deployment in production | speed |
| Change failure rate | what percentage of deployments results in a failure in production | stability |
| Time to restore service | how long it takes to restore service after a failure in production | stability |
Two of the metrics describe the speed of the flow of changes and two describe stability. DORA research has shown that speed and stability do not contradict each other: the best teams are good at all the measures at once, not good at some at the expense of others.
How they are calculated
Each metric is calculated from process events: the times of commits and deployments, incident and rollback records. Data is collected from the CI/CD system and the incident tracker, and the measures are tracked as trends over a long period.
# lead time of one deployment, in minutesdeploy_at=$(date -u +%s)commit_at=$(git log -1 --format=%ct HEAD)echo $(( (deploy_at - commit_at) / 60 ))Where the term comes from
Research under the DevOps Research and Assessment (DORA) programme has been running since 2014, and the 2015 report already calls the four measures the key metrics of delivery. The methodology was described in the 2018 book Accelerate by Nicole Forsgren, Jez Humble and Gene Kim. Since 2018 the research has been carried out inside Google Cloud, and the name “four keys” was established by the open source Four Keys project, which Google released in 2020 to collect these metrics from GitHub and GitLab.
The set changes: in 2021 reliability was added to the metrics as a measure of operational results. The current DORA guidance (as of January 2026) has five measures: time to restore service is counted only for failed deployments — failed deployment recovery time — and instability combines the change failure rate with the share of rework after incidents in production — deployment rework rate.
How they are used
- Measure them for one application or service at a time: comparing a mobile app with a mainframe system says nothing about either team.
- Do not turn the metrics into targets: a demand to “deploy every day by the end of the year” will push teams to game the numbers (Goodhart’s law).
- The measures belong to everyone: development, operations and releases; assigning a metric to a single team leads to responsibility being shifted onto others.
- Compare a team with its own past, not with other teams: the goal is improvement over time, not competition.
Sources
the term is written from these pages- DORA — DORA’s software delivery performance metricsdora.dev/guides/dora-metrics/(opens in a new tab)
- Google Cloud Blog — Are you an Elite DevOps performer? Find out with the Four Keys Projectcloud.google.com/blog/products/devops-sre/using-the-four-keys-to-measure-your-devops-performance(opens in a new tab)
- DORA Research: 2015 — State of DevOps Reportdora.dev/research/2015/(opens in a new tab)
Verified 9 Nov