DORA metrics are the industry-standard measures of software delivery performance, popularized by Google's DevOps Research and Assessment program. Leanmote tracks all four out of the box on the Software Delivery Performance tab of the Performance Delivery dashboard.
The four DORA metrics
Deployment Frequency — how often you ship to production. A speed metric.
Lead Time for Changes — how long a change takes to reach production. Another speed metric.
Mean Time to Recovery (MTTR) — how quickly you restore service after an incident. A stability metric.
Change Failure Rate — what percentage of deployments cause incidents. A quality metric.
Read in pairs, the four metrics balance speed against stability. Improving one without breaking the other is the goal.
Why they matter
DORA's research correlates these four metrics with overall software-delivery performance and, indirectly, with business outcomes. Teams that score well on all four tend to ship faster and recover quicker than peers. Tracking them gives you a defensible, externally validated benchmark.
What Leanmote needs to calculate them
A source-control integration (GitHub, GitLab, Azure DevOps) is the only requirement. All four metrics are derived from your repositories:
Deployment Frequency — merged pull requests per day, or GitHub, GitLab, Bitbucket or Datadog deployments per day if you choose that source (below).
Lead Time for Changes — time from a change's first commit (or its branch's creation, if your organization chose it) until it reaches the repository's production branch; promotion pull requests do not count. You can also measure it to the production deployment (below).
Change Failure Rate — share of merged PRs that read as corrective work, or share of failed production deployments in deployment mode.
Mean Time to Recovery — time between a merged PR and the hotfix or revert that followed it in the same repository.
You do not need to connect an incident-management tool: Leanmote infers the failure and recovery signals from your repositories. That keeps all four metrics available from day one, at the cost of some precision — see each metric's article for exactly what is counted.
Five ways to count a deployment
By default Leanmote counts a merged pull request as a deployment. That's a close stand-in for teams that deploy on merge, and a loose one for teams that batch several merges into a scheduled release.
If you deploy through GitHub, GitLab or Bitbucket Pipelines, or record your deployments in Datadog, the organization owner can count the deployments themselves instead, in Settings → Organization Settings → Tabs → Metrics under Where deployments are counted (also reached from a DORA card's ⋮ › Settings, for whoever can change it). With GitHub deployments:
Deployment Frequency counts GitHub production deployments.
Change Failure Rate counts production deployments that GitHub reports as failed.
Lead Time for Changes and Time to Restore stay merge-based — the choice does not affect them.
With Datadog deployments, Deployment Frequency, Change Failure Rate and Time to Restore count the Datadog deployments to the environments you marked as production when connecting Datadog; Change Failure Rate also counts the incidents Datadog records there. Lead Time for Changes stays merge-based.
With GitLab deployments, Deployment Frequency counts the GitLab pipelines that reached your production environments (the ones GitLab places in the production tier). Change Failure Rate counts the deployments a later one had to undo — by going back to an earlier version or reverting its change — or fix with a hotfix, and Time to Restore is the time until that fix was deployed. A pipeline that failed before reaching production is not a change failure. With an environments repository (below), each application's promotions to production are its deployments instead, from its first one on. Lead Time for Changes stays merge-based unless you choose to measure it to the deployment.
With Bitbucket deployments, Deployment Frequency counts the Bitbucket Pipelines deployments that succeeded in your Production environments (the environments of type Production in Bitbucket). Change Failure Rate and Time to Restore follow the same rule as GitLab's: a deployment a later one had to undo or fix with a hotfix is a failure, and a deployment that failed is not. Lead Time for Changes stays merge-based.
With GitLab or Bitbucket deployments and Jenkins connected, the owner can also turn on Jenkins deployments there: the production deployments of your Jenkins jobs are added to the source's, with the same failure rule, and Show Details says which tool deployed each one. See Jenkins integration.
Choosing GitHub, GitLab or Bitbucket deployments backfills up to a year of deployment history automatically, with a short progress notice on the dashboard while it runs.
GitOps promotions
With GitLab deployments, if you promote with Kargo, Argo CD, Flux or another GitOps tool, the organization owner picks under DORA source the GitOps environments repository: the repository where that tool leaves one commit per promotion. Once it is chosen, QA environment says which of its stages is QA (quality by default). Then:
Each application's promotions to production are its deployments for the four DORA metrics, from its first promotion on, in place of its GitLab pipelines. A promotion made from Kargo counts even if its GitLab job never ran, and promoting an earlier image again is a rollback.
Its promotions to QA mark when each change reached QA.
Promotions are read on the next sync, up to a year back. Their commits are read in Kargo's message format ("chore(app): promote to quality - tag …"); if your tool writes another one, contact us to set it up.
Which environments count as a deployment
In the Show Details of Deployment Frequency, Change Failure Rate and Time to Restore, the Environment column filters the deployments that count. Saved on the card, the filter stays in the view: for example, only "prod", to leave infrastructure pipelines out. Lead Time measured to the deployment has the same column.
Lead time to production
When what is merged to main waits for an approval before reaching production, the time to the merge doesn't tell the whole story. With GitLab deployments, in the Lead Time card open ⋮ › Measure until and choose The production deployment. It is saved with the view, like the card's method. From then on:
Each pull request a production deployment carried counts from its first commit to that deployment. If two deployments carried it, the first one counts.
The card's bar splits it into three stages: Development (first commit to merge), Waiting for Deployment (merge to arrival at QA) and Certification in QA (QA to production).
Next to the figure, the card shows the same statistic from the merge and from QA to production. The latter counts only the changes that went through QA, so it differs from the bar's stage, which averages them all.
Show Details lists each pull request with its deployment, its environment, when it reached QA and when it reached production.
The arrival at QA comes from the GitOps promotions. Without a GitOps environments repository, the wait for deployment runs to production and certification stays at zero. With promotions, each one carries the pull requests merged since that application's previous promotion; the first promotion of each application isn't measured, because what it carried isn't known.
How to read DORA in a review
Look at Deployment Frequency first — direction over the last 4 weeks.
Pair it with Lead Time. Frequent deploys with rising lead time means batch sizes are growing.
Validate quality with Change Failure Rate. If speed climbs but failure rate climbs too, you're trading.
End with MTTR. A high failure rate is more tolerable when recovery is fast.
Before comparing periods, check whether the deployment source changed in between — the sources are not interchangeable.
Related articles
Deployment Frequency
Lead Time for Changes
Mean Time to Recovery
Change Failure Rate
Performance Delivery dashboard
