Home / Blog / DevOps /DevOps Metrics and KPIs: DORA Benchmarks and More

DevOps KPIs and metrics

background

Stay in touch

Leave your email and we will inform you about all our news and updates

Most DevOps dashboards measure activity: builds run, tickets closed, lines of code, Slack messages. None of it tells you whether software reaches users faster and breaks less — which is the only reason DevOps exists.

This guide covers the metrics that do: the four DORA metrics and how to calculate them, the benchmarks that tell you where you stand, the supporting metrics by area, which ones to adopt at each stage of maturity, and how to put them on a dashboard your engineers and your CFO will both read.

In short: measure DevOps with the four DORA metrics first — deployment frequency, lead time for changes, change failure rate and failed deployment recovery time — because together they capture both speed and stability and are the only set with published industry benchmarks. Add a small number of supporting metrics for the pipeline, reliability, security, cost and flow, chosen for the problem you are trying to fix. Never measure individuals, and never put a metric on a dashboard without an owner and a target.

KPIs vs metrics: a short clarification

Difference between KPIs and metrics in DevOps

A metric is any quantified observation: build duration, deployments per week, incidents per month. A KPI is a metric you have decided matters enough to set a target for and review on a schedule. Every KPI is a metric; most metrics should never become KPIs. A healthy DevOps measurement practice collects dozens of metrics automatically and promotes four to eight of them to KPIs with owners, targets and a review cadence. The rest stay available for diagnosis.

Good DevOps metrics share five properties: they measure outcomes rather than activity, they are collected automatically from systems rather than reported by people, they cover both speed and stability so that one cannot be gamed at the expense of the other, they are attributed to teams and services rather than individuals, and each prompts an obvious action when it moves.

The four DORA metrics

DORA (DevOps Research and Assessment, now part of Google Cloud) has published the State of DevOps research for over a decade, and its four key metrics are the industry standard because they are the ones statistically linked to organizational performance. Two measure throughput, two measure stability.

Metric
What it measures
How to calculate
Data source
Deployment frequency
How often code reaches production
Production deployments per day/week per service
Deployment tool or CI/CD (Argo CD, GitHub Actions, GitLab, Jenkins)
Lead time for changes
How long a change takes from commit to running in production
Median time from first commit of a change to its production deployment
Git + deployment tool, joined on commit SHA
Change failure rate
How often a deployment causes a failure needing remediation
Deployments that caused an incident, rollback or hotfix ÷ total deployments
Deployment tool + incident tracker, linked by release
Failed deployment recovery time (formerly MTTR)
How long it takes to restore service after a failed deployment
Median time from the failure being detected to service restored
Incident tracker, monitoring

DORA's 2024 report adds a fifth, rework rate — the share of deployments that are unplanned fixes for a previous deployment — as a second stability signal, and reframes the four as a balanced set: pushing throughput without watching stability produces a team that ships fast and breaks often, and vice versa.

DORA benchmarks: where does your team stand?

Performance level
Deployment frequency
Lead time for changes
Change failure rate
Failed deployment recovery time
Elite
On demand, multiple times a day
Under one day
About 5%
Under one hour
High
Daily to weekly
One day to one week
About 10–20%
Under one day
Medium
Weekly to monthly
One week to one month
About 10–20%
One day to one week
Low
Monthly to semi-annually
One to six months
About 40%
One week to one month

Figures are DORA's reported cluster medians (2024 report); treat them as orientation rather than targets. The useful exercise is to place each of your services in a row, then ask which single metric, if improved, would move the service to the next row. For most teams between medium and high, that metric is lead time, and the constraint behind it is manual testing or manual deployment approval.

How the levels map to concrete practices — what a Level 2 team's pipeline looks like versus a Level 4 team's — is in the maturity ladder in the DevOps process guide.

20 more DevOps metrics, by area

Extended list of DevOps metrics and KPIs

The DORA four tell you whether delivery is fast and stable. The metrics below tell you why, and which part of the system to fix. Pick from them by problem; do not adopt all twenty.

CI/CD pipeline metrics

Metric
Formula / definition
Why it matters
Healthy signal
Build duration
Median time from trigger to green build
Slow builds mean developers batch changes and skip running them
Under 10 minutes for CI
Build success rate
Successful builds ÷ total builds
Flaky or broken builds erode trust in the pipeline
Above 90%, with failures fixed within the hour
Pipeline duration (commit to deployable artifact)
Median end-to-end pipeline time
The floor of your lead time
Under 30 minutes
Automated deployment share
Deployments with no manual step ÷ total
Manual steps are where errors and delays live
100% for non-prod; above 90% for prod
Deployment duration
Time from "deploy" to traffic on new version
Long deployments discourage frequent ones
Minutes, not hours
Rollback rate
Rollbacks ÷ deployments
A specific, cheap-to-collect slice of change failure rate
Trending down; each rollback reviewed

Quality metrics

Metric
Formula / definition
Why it matters
Healthy signal
Defect escape rate
Defects found in production ÷ total defects found
Measures whether the pipeline's tests catch what matters
Falling quarter on quarter
Test coverage on changed code
Lines changed that are covered by tests ÷ lines changed
Overall coverage is gameable; coverage on new code is not
Above 80% on changed lines
Flaky test rate
Tests that pass and fail on the same code ÷ total tests
Flaky tests destroy trust in the pipeline faster than slow ones
Under 1%, quarantined when found
Rework / hotfix rate
Unplanned fix deployments ÷ total deployments
DORA's fifth metric; a direct measure of quality debt
Under 10%

Reliability and operations metrics

Metric
Formula / definition
Why it matters
Healthy signal
Availability against SLO
Successful requests ÷ total, measured against a published objective
The user's view of reliability; the basis of error budgets
SLO met; error budget not exhausted
Mean time to detect (MTTD)
Median time from failure start to alert
Most recovery time is detection time; if users report outages first, MTTD is the problem
Minutes; alerts before users
Mean time to acknowledge (MTTA)
Median time from alert to a human responding
Measures on-call health
Under 5 minutes for P1
Mean time between failures (MTBF)
Operating time ÷ number of failures
Trend indicator of underlying stability
Rising
Incidents per deployment
Incidents attributed to releases ÷ deployments
Separates release-caused incidents from infrastructure ones
Falling as deployment frequency rises
Unplanned work rate
Hours on incidents, hotfixes and firefighting ÷ total engineering hours
The cost of instability in capacity terms
Under 15–20%

Infrastructure and cost metrics

Metric
Formula / definition
Why it matters
Healthy signal
Environment provisioning time
Time from request to usable environment
Self-service vs ticket queue
Minutes via IaC; no human in the loop
Infrastructure as code coverage
Resources managed by IaC ÷ total resources
Unmanaged resources are drift, risk and undocumented cost
Above 90%
Cloud cost per environment / per deployment
Monthly spend attributed by tag
Makes platform efficiency visible
Known, tagged, trending with usage not with time
Resource utilization
Used ÷ provisioned CPU and memory
Over-provisioning is the most common cloud waste
50–70% average utilization

Security (DevSecOps) metrics

Metric
Formula / definition
Why it matters
Healthy signal
Share of builds with security scans
Builds running SAST, dependency and container scans ÷ total
Security that is not in the pipeline is not happening
100%
Vulnerability remediation time
Median time from detection to fix deployed, by severity
The security equivalent of recovery time
Critical under 7 days; high under 30
Open critical vulnerabilities older than 30 days
Count
The backlog that becomes the breach
Zero
Secrets incidents
Credentials committed to repositories or exposed in logs
Leading indicator of a specific, common breach cause
Zero, with scanning that blocks commits

Flow and team metrics

Metric
Formula / definition
Why it matters
Healthy signal
Work in progress per engineer
Items in progress ÷ engineers
High WIP is the hidden cause of long lead time
1–2
Batch size
Changed lines or files per deployment
Small batches are the strongest predictor of both speed and stability
Shrinking as frequency rises
On-call load
Pages per person per week; share outside working hours
Burnout indicator; drives retention
Under 2 pages per shift; mostly in hours
Developer satisfaction with the platform
Quarterly survey score
The platform team's product metric
Rising; specific complaints acted on

What is deliberately absent: lines of code, commits per developer, story points per sprint, tool usage. They measure typing, not delivery, and the moment they become KPIs people optimize for them.

Business impact metrics

The DORA metrics convince engineers. The ones below convince the people who fund them, and the link between the two is what makes the DevOps investment case.

  • Time to market for a feature — from decision to availability for users; lead time for changes is its engineering component.
  • Cost of downtime — incidents × duration × revenue (or cost) per hour; recovery time has a price tag.
  • Engineering capacity returned — the share of developer time no longer spent on deployments, environments and firefighting, converted to hours and money.
  • Customer-facing quality — support tickets per release, NPS or CSAT trend after releases, churn correlated with incidents.
  • Cloud cost per unit of business — spend per transaction, per user or per deployment, so that infrastructure efficiency is visible in business terms.
  • Return on the DevOps investment — capacity returned plus downtime avoided plus faster revenue from features, against the cost of the people, tools and any external team.

The way to present these to a board — in the vocabulary they use, with two or three numbers rather than a dashboard — is the same whether the investment is DevOps or technical debt; the framing is in the CEO's guide to DevOps outsourcing, which includes a before-and-after example.

Want a DevOps team that reports its own DORA metrics?

Devico's DevOps engineers set up the measurement in the first month and are accountable for deployment frequency, lead time, change failure rate and recovery time under the SLA — not for hours logged.

Which metrics to track at each stage of maturity

Adopting all of the above at once produces a dashboard nobody reads. Add metrics as the questions change.

Stage
Typical situation
Track first
Add next
Starting out (manual deployments, no pipeline)
You do not know how often you deploy or how long changes take
Deployment frequency and lead time — even if collected by hand for a month
Build success rate, automated deployment share
Pipeline exists but is not trusted
Builds flake; deployments still need approvals
All four DORA metrics; flaky test rate; pipeline duration
Rollback rate, test coverage on changed code
Deploying weekly or faster
Stability becomes the constraint
Change failure rate and recovery time by service; MTTD; unplanned work rate
Availability against SLO; incidents per deployment
Deploying daily; platform team in place
Platform efficiency and cost
Environment provisioning time; IaC coverage; cost per environment; developer satisfaction
Rework rate; on-call load; batch size
Regulated or security-sensitive
Audits and compliance evidence
Share of builds with security scans; vulnerability remediation time; open critical vulnerabilities
Secrets incidents; policy-as-code pass rate

The readiness questions that precede the first stage — whether the organization is set up to use metrics at all — are in DevOps transformation: 5 factors to identify readiness.

How to build a DevOps KPI dashboard

Automated vs manual measurement of DevOps metrics by maturity level

Highly evolved DevOps organizations measure automatically. Source: Puppet, State of DevOps Report 2018

1. Join four data sources. Version control (commit timestamps, authors, changed files), the CI/CD or deployment tool (deployment events with commit SHAs and timestamps), the incident tracker (incidents with start, acknowledge and resolve times, linked to the release that caused them) and monitoring (availability, latency, error rates). The join key for DORA metrics is the commit SHA carried through to the deployment event, and the release identifier carried into the incident — set both up before anything else.

2. Choose tooling by what you already run.

  • Built into the platform: GitLab's DORA dashboards and value-stream analytics; GitHub's deployment API with Insights; Azure DevOps analytics views. Cheapest and enough for many teams.
  • Open source: Google's Four Keys project (deployment and incident events into BigQuery, dashboards in Data Studio/Grafana); Grafana with Prometheus for operational metrics; Backstage plugins for per-service views.
  • Engineering intelligence products: Sleuth, LinearB, Jellyfish, Swarmia, Faros, Haystack — useful at 30+ engineers when you want per-team DORA metrics, flow metrics and investment views without building the joins yourself.
  • Incident and reliability: PagerDuty, Opsgenie or http://incident.io for MTTA/MTTR; SLO tooling (Nobl9, Datadog SLOs, Grafana SLO) for error budgets.

3. Lay it out by audience. One page per audience, not one page for all: a team page with the four DORA metrics per service, build health, flaky tests and on-call load, reviewed weekly; a platform page with provisioning time, IaC coverage, cost and developer satisfaction, reviewed monthly; a leadership page with DORA trends by product, availability against SLO, unplanned work rate and the business metrics above, reviewed monthly in the same meeting as delivery.

4. Set a target and an owner per KPI. A metric without a target is a chart; a metric without an owner is a chart nobody fixes. Record both on the dashboard itself.

5. Review on a cadence and act. Weekly for team metrics, monthly for platform and leadership. Each review ends with at most two improvement actions in the backlog. If a review produces no action for three months, retire the metric or promote a different one.

Anti-patterns: how DevOps metrics go wrong

  • Measuring individuals. Commits, story points or deployments per engineer destroy collaboration and are gamed within a sprint. Attribute everything to teams and services.
  • Goodhart's law. When a measure becomes a target, it stops being a good measure. Deployment frequency pursued alone produces trivial deployments; coverage pursued alone produces meaningless tests. Always pair a throughput metric with a stability metric.
  • Manual reporting. Metrics people fill in are late, optimistic and resented. If it cannot be collected from a system, question whether it should be a KPI.
  • Dashboard sprawl. Twenty metrics with no owners. Four to eight KPIs per audience, the rest available on demand.
  • Benchmarks as targets. "Elite by Q3" is a slogan. The target is the next row for your worst service, driven by one identified constraint.
  • Metrics without context. A rising change failure rate during a migration may be fine; a falling deployment frequency during a holiday is noise. Annotate the charts.

A worked example: six months of measurement

A 25-developer product team starts with manual fortnightly releases and no measurement. Month one establishes the baseline by instrumenting the deployment tool and linking incidents to releases. The team then works on one constraint per month: a flaky end-to-end suite (quarantined, then fixed), a manual approval gate (replaced by automated checks and a canary), and missing alerts on the checkout service (SLO defined, alerting rewritten).

Metric
Baseline
Month 6
Deployment frequency
Every 2 weeks
Daily, on demand
Lead time for changes
11 days
1.5 days
Change failure rate
27%
8%
Failed deployment recovery time
~9 hours
40 minutes
Build success rate
71%
94%
Mean time to detect
35 minutes (often user-reported)
3 minutes
Unplanned work rate
22% of capacity
9%

None of this required a new tool beyond what the team already ran. It required collecting the four numbers, picking one constraint at a time and reviewing the numbers in the same meeting as feature delivery. The organizational side — who owns which metric when the structure changes — is in how to build an effective DevOps team structure, and a baseline assessment of this kind is the first deliverable of Devico's DevOps consulting.

Step-by-step guide to implementing DevOps in your organization

Conclusion

DevOps succeeds or fails on whether software reaches users faster and breaks less, and the four DORA metrics measure exactly that — with benchmarks to tell you where you stand and a built-in balance between speed and stability. Everything else is diagnostic: pipeline, quality, reliability, cost, security and flow metrics chosen for the problem in front of you, collected automatically, attributed to teams, reviewed on a cadence and attached to an owner and a target. Build the dashboard around the questions each audience asks, keep it small, and let it drive one improvement at a time.

FAQ

The four DORA metrics: deployment frequency (how often code reaches production), lead time for changes (commit to production), change failure rate (share of deployments causing an incident, rollback or hotfix) and failed deployment recovery time, formerly mean time to recovery. DORA's 2024 report adds rework rate as a fifth.

Per DORA's 2024 clusters, elite performers deploy on demand with lead time under a day, change failure rate around 5% and recovery under an hour; high performers deploy daily to weekly with recovery under a day. Use the levels for orientation and target the next level for your least mature service rather than "elite" across the board.

Track the four DORA metrics per service as the primary KPIs, pair them with availability against an SLO and unplanned work rate, and translate the results into business terms — time to market, cost of downtime, engineering capacity returned. Success is a sustained move up the DORA levels without stability getting worse.

A metric is any measured value collected automatically — build time, deployments per week. A KPI is a metric promoted to a target with an owner and a review cadence. Teams collect dozens of metrics and run on four to eight KPIs per audience.

GitLab, GitHub and Azure DevOps have built-in DORA and delivery analytics; Google's open-source Four Keys and Grafana cover custom setups; products such as Sleuth, LinearB, Jellyfish and Swarmia provide per-team DORA and flow metrics at scale; PagerDuty, Opsgenie or http://incident.io supply incident timings.

Share of builds running security scans (target 100%), vulnerability remediation time by severity (critical under 7 days), number of open critical vulnerabilities older than 30 days (target zero), secrets incidents (target zero with blocking scans) and the share of infrastructure changes passing policy-as-code checks.

Still have a question?

Talk to us

Get your DORA baseline in two weeks

Devico instruments your pipeline and incident data, reports the four metrics per service with the constraint behind each, and proposes the first three improvements — as a consulting engagement or the start of a managed DevOps service.

background

Subscribe to receive notifications of new posts