DORA Metrics: How to Measure Them (and Not Weaponize Them)

Ready to get started?
Try OpenObserve Cloud today for more efficient and performant observability.

DORA metrics are the five software delivery performance measures defined by DORA (DevOps Research and Assessment): change lead time, deployment frequency, failed deployment recovery time, change fail rate, and deployment rework rate. Measured per service over time, they show whether delivery is getting faster and more stable. Used as targets or rankings, they get gamed.
TL;DR
- DORA now defines five metrics: change lead time, deployment frequency, failed deployment recovery time, change fail rate, and deployment rework rate.
- Every DORA metric can be calculated from two kinds of events: production deployments from CI/CD and failed-deployment incidents.
- DORA metrics are meant to improve one service over time, and they break down when used as targets or to rank teams.
- OpenObserve is the best place to measure them, because deployment events, SQL calculations, and the service health data they affect live in one platform.
What are the DORA metrics?
DORA groups its five metrics into two families: throughput, which measures how quickly changes move through the delivery pipeline, and instability, which measures how often those changes cause trouble. The table below uses DORA's own definitions (Source: DORA, DORA's software delivery performance metrics, November 2026).
| Metric. | DORA definition. | Group. |
|---|---|---|
| Change lead time. | The time it takes for a change to go from committed to version control to deployed in production. | Throughput. |
| Deployment frequency. | The number of deployments over a given period, or the time between deployments. | Throughput. |
| Failed deployment recovery time. | The time it takes to recover from a deployment that fails and requires immediate intervention. | Throughput. |
| Change fail rate. | The ratio of deployments that require immediate intervention following a deployment. | Instability. |
| Deployment rework rate. | The ratio of deployments that are unplanned but happen as a result of an incident in production. | Instability. |
For the short definition, see our glossary entry on DORA metrics. The sections below explain what each metric tells you and what usually moves it.
What is change lead time?
Change lead time measures how long a commit waits before it runs in production. It captures code review, CI, test suites, approval gates, and release scheduling in a single number. A long lead time usually points to large batches, slow or flaky tests, or manual release steps, not slow engineers.
What is deployment frequency?
Deployment frequency counts how often a service ships to production, or the gap between deployments. Frequent, small deployments are easier to review, test, and roll back, which is why DORA names reducing batch size as a common way to improve all five metrics.
What is failed deployment recovery time?
Failed deployment recovery time measures how long it takes to recover when a deployment fails and needs immediate intervention, from the moment the failure is detected to the moment service is restored by a rollback, fix forward, or feature flag. It depends on how quickly you detect the failure and how fast your rollback path is. Our mean time to resolution guide covers the detection and response side in depth.
What is change fail rate?
Change fail rate is the share of deployments that need immediate intervention after they go out: a rollback, a hotfix, or an incident. It is the counterweight to deployment frequency, since shipping more often only helps if the changes keep working.
What is deployment rework rate?
Deployment rework rate is the share of deployments that are unplanned and happen because of an incident in production. Where change fail rate counts the deployments that broke, rework rate counts the extra deployments you had to make to clean up after them.
What changed from the original four DORA metrics?
Older articles list four metrics: deployment frequency, lead time for changes, change failure rate, and time to restore service (MTTR). Two details differ in DORA's current set. Failed deployment recovery time replaced MTTR and now only covers failures caused by deployments, and deployment rework rate sits alongside change fail rate as a second instability metric. If you report MTTR for all incidents, keep it, but track it separately from the DORA metric. Our glossary explains the related MTTR vs MTTD distinction.
Why do DORA metrics matter?
DORA metrics matter because they balance speed against stability. Throughput metrics alone reward shipping fast whatever breaks; instability metrics alone reward shipping nothing. Tracked together for one service, they show whether a change to how you work actually improved delivery.
Throughput and instability move together
A team that adds a better test suite should see change fail rate fall without lead time rising much. A team that moves to smaller pull requests should see deployment frequency rise and recovery time fall, because small changes are easier to roll back. Looking at one metric hides these trade-offs; looking at all five shows them.
DORA metrics vs SLOs
DORA metrics describe the delivery system: how changes reach production. Service level objectives describe the service: whether users get the reliability they expect. The two meet at change failures. A deployment that burns through the error budget is a change failure, and a team that is out of error budget usually slows deployments down. Tracking both on the same dashboard shows whether faster delivery is costing reliability.
How do you measure DORA metrics?
Every DORA metric comes from two kinds of events, and you probably already produce both:.
- Deployment events from your CI/CD system: one per production deployment, with the service, the commit, the commit time, the deploy time, and whether it needed intervention.
- Incident and remediation events from your incident or on-call tool: when a failed deployment was detected, when it was recovered, and whether a follow-up deployment was unplanned.
DORA itself warns that building precise integrations with many systems may not be worth the upfront cost, so start with one event per deployment and refine it later. The diagram shows the full flow in OpenObserve.
Step 1: Emit a deployment event from CI/CD
Add a final step to your production pipeline that posts a JSON event to OpenObserve. The event needs only a few fields:.
{
"service": "checkout",
"environment": "production",
"commit_sha": "<COMMIT_SHA>",
"committed_at": 1793900000000000,
"deployed_at": 1793903600000000,
"status": "success",
"planned": true
}
Send it to a deployments stream over HTTP:.
curl -u "<O2_USER>:<O2_TOKEN>" \
-H "Content-Type: application/json" \
-X POST "https://<O2_ENDPOINT>/api/<O2_ORG>/deployments/_json" \
-d @deployment.json
Use microsecond timestamps for committed_at and deployed_at so you can subtract them directly. The curl ingestion docs cover authentication and endpoints. If you already send pipeline telemetry, our guides to monitoring GitHub Actions and monitoring Jenkins with OpenTelemetry show where to add the step.
Step 2: Record failed deployments and recovery
When a deployment later needs a rollback or hotfix, send an update event for it with status: "failed", plus failed_at (when the failure was detected) and recovered_at (when service was restored). Mark the remediation deployments that follow with planned: false. Your incident tool can send these fields automatically when an incident linked to a deployment is opened and resolved, or an on-call engineer can add them in the post-incident review.
Step 3: Calculate each DORA metric with SQL
With deployment events in a stream, each metric is a query. These examples run over the dashboard's time range.
Deployment frequency (deployments per day, per service):.
SELECT histogram(_timestamp, '1 day') AS day, service, COUNT(*) AS deployments
FROM "deployments"
WHERE environment = 'production'
GROUP BY day, service
ORDER BY day
Change lead time (median and 90th percentile, in hours):.
SELECT service,
approx_percentile_cont((deployed_at - committed_at) / 3600000000.0, 0.5) AS median_hours,
approx_percentile_cont((deployed_at - committed_at) / 3600000000.0, 0.9) AS p90_hours
FROM "deployments"
WHERE environment = 'production'
GROUP BY service
Change fail rate:.
SELECT service,
100.0 * SUM(CASE WHEN status = 'failed' THEN 1 ELSE 0 END) / COUNT(*) AS change_fail_rate_pct
FROM "deployments"
WHERE environment = 'production'
GROUP BY service
Deployment rework rate:.
SELECT service,
100.0 * SUM(CASE WHEN planned = false THEN 1 ELSE 0 END) / COUNT(*) AS rework_rate_pct
FROM "deployments"
WHERE environment = 'production'
GROUP BY service
Failed deployment recovery time (median, in minutes):.
SELECT service,
approx_percentile_cont((recovered_at - failed_at) / 60000000.0, 0.5) AS median_recovery_minutes
FROM "deployments"
WHERE environment = 'production' AND status = 'failed'
GROUP BY service
See example queries for more SQL patterns.
Step 4: Build a DORA metrics dashboard
Put each query on its own panel: a time series for deployment frequency, stat panels for the median lead time and recovery time, and bar charts for change fail rate and rework rate by service. Add a service dashboard variable so each team can filter to the service it owns. Our guide to observability dashboards covers panel choices and layout, and metrics dashboards for SRE and DevOps shows similar team dashboards.

Step 5: Mark every deployment on your service dashboards
Delivery metrics in a separate tool tell you a deployment failed. Next to your service dashboards, they show what the failure did. OpenObserve dashboards support annotation sources, which run a query and draw a marker for every returned row on your time-series panels (annotation sources docs). A Custom SQL source only has to return a _timestamp column:.
SELECT _timestamp, service, commit_sha, status
FROM "deployments"
WHERE environment = 'production'
Set the marker title to {service} deployed and every deployment appears as a vertical line on your latency, error rate, and log volume charts. Add a second source over failed deployments with recovered_at as the end-time field, and each failure is drawn as a shaded band that is exactly its recovery time.

When an error spike lines up with a deployment marker, you've found your change failure, and the recovery clock starts there. Pair this with alert correlation, as in our guide to reducing MTTD and MTTR with alert correlation.
Step 6: Alert when change fail rate rises
A scheduled SQL alert on the change fail rate query catches a bad week before the retrospective does. Run it daily per service and notify the owning team's channel when the rate crosses a threshold the team agreed on. Keep the alert informational: it is a prompt to look at recent changes, not a page. See SLO-based alerting for how to keep alerts like this from becoming noise.

How do you improve DORA metrics?
DORA's guidance on improvement is short and practical: find the biggest constraint and fix that first, rather than pushing on every metric at once (Source: DORA, DORA's software delivery performance metrics, November 2026).
Set a baseline first
Before changing anything, record where each service stands today. DORA suggests its free DORA Quick Check for a first baseline, and your own deployment stream gives you a continuous one. Without a baseline, there is no way to tell whether a process change helped.
Reduce batch size
DORA names reducing the batch size of changes as a common way to improve all five metrics. Smaller changes are reviewed faster (lower lead time), ship more often (higher deployment frequency), break less (lower change fail rate), and are easier to roll back (lower recovery time).
Fix the biggest bottleneck as a team
DORA advises the whole team to commit to improving the most significant constraint. If lead time is dominated by a slow test suite, speed up the tests; if recovery time is dominated by slow detection, improve alerting and incident correlation. Then re-measure and pick the next constraint.
How do you avoid weaponizing DORA metrics?
DORA metrics stop being useful the moment people are judged by them. DORA's own guidance lists the pitfalls (Source: DORA, DORA's software delivery performance metrics, November 2026):.
- Don't make the metrics goals. DORA warns that setting them as targets "increases the likelihood that teams will try to game the metrics". Smaller, meaningless deployments raise frequency without improving anything.
- Don't rely on one metric. Use several, including ones with healthy tension between them, such as deployment frequency and change fail rate.
- Don't compare unrelated applications. The metrics are meant for one application or service at a time; comparing vastly different applications is misleading.
- Don't turn them into a competition. The goal is to improve over time, not to beat other teams or organisations.
- Don't blend across teams. Different contexts make averaged metrics across teams or organisations problematic.
- Don't silo ownership. Giving each team a different metric causes friction and finger-pointing. Share all five across development, operations, and release.
- Don't use your industry as a shield. Heavy regulation isn't a reason to stop improving.
- Don't over-invest in precision. Building perfect data integrations may not be worth the upfront cost. Start with simple events and improve them.
The principle behind all eight: DORA metrics describe a delivery system, not the people in it. Review them in team retrospectives, alongside the context that explains them, and never in performance reviews. The same blameless approach used in on-call runbooks and post-incident reviews applies here.
How does OpenObserve help you measure DORA metrics?
OpenObserve is an open-source (AGPL-3.0) observability platform. Deployment events are just another stream, so your delivery metrics live next to the logs, metrics, and traces that show their impact, and you can go from a change-fail-rate spike to the failing trace without switching tools.
Delivery data and service health in one place
Because deployments, incidents, and telemetry share one platform, a failed deployment links directly to its error logs, latency traces, and the incident it triggered. Incident management groups related alerts and records the timeline, which gives you failed_at and recovered_at without a separate tool, and the AI SRE agent can investigate the root cause.

Everything else OpenObserve covers
- Telemetry: logs, metrics, and traces with a service graph and service catalog, plus continuous profiles.
- Frontend monitoring: real user monitoring (RUM), session replay, and error tracking.
- Synthetic monitoring: scheduled browser and protocol checks.
- AI: AI Assistant, SRE Agent for AI root cause analysis, an MCP server, LLM observability and evaluations, anomaly detection, log patterns, and insights.
- Alerting and reliability: scheduled, real-time, composite, and anomaly alerts, incident management, and SLOs with error budgets and burn rates.
- Dashboards and reports: real-time dashboards with annotation sources, and scheduled PDF, PNG, or CSV reports.
- Data processing: pipelines, VRL functions, enrichment tables, and metrics downsampling.
- Storage and cost: Parquet on object storage, Bring Your Own Bucket on Cloud, extended retention, and ingest-based pricing with unlimited users.
- Security and governance: SSO, RBAC, multi-tenancy, sensitive data redaction, audit trail, cipher keys, and federated search.
- Compliance: SOC 2 Type II, ISO 27001, and GDPR via the EU-Central 1 (Frankfurt) region.
- Open standards: OpenTelemetry-native ingestion, PromQL and SQL querying, and open source under AGPL-3.0.
Get started with OpenObserve
- Sign up for OpenObserve Cloud with a 14-day free trial and send your first deployment event.
- Read our guide to mean time to resolution for the incident side of delivery performance.
- See how AI incident management reduces MTTR once your deployment data is in place.
Frequently Asked Questions
About the Author
Follow OpenObserve on Google
Add OpenObserve as a preferred source to see more of our articles in Google Search and Top Stories.











