For the first few years I led platform engineering, I measured developer productivity the way most teams do: cycle time tickets closed per sprint, lines of code, and a vague sense that deployments felt faster. None of it helped. We shipped an Internal Developer Platform: Self-Service Infrastructure for Engineering Teams that cut environment provisioning from three days to fifteen minutes, and our ticket velocity still looked flat. Leadership asked why we weren't "more productive." The problem wasn't the platform — it was that we were measuring the wrong thing, and in a way that encouraged teams to optimize for the metric instead of the outcome. DORA and SPACE gave us a shared language to fix that, but only after we learned to implement them honestly and connect them to what platform teams can actually influence.
The Problem With Measuring Developer Productivity Like Factory Output
In my experience, the fastest way to destroy trust between platform and product teams is to publish a dashboard ranking teams by throughput. Individual productivity metrics — commits per developer, story points per sprint, PRs merged — incentivize the wrong behavior. I've seen teams split pull requests artificially to inflate counts, or game story pointing to show velocity gains while lead time got worse.
The core issue is that software delivery is not a linear manufacturing process. It's a complex system with queuing, handoffs, and feedback loops. Measuring output at the individual level ignores that most delays live in the system, not the person. A developer waiting two days for a manual security review, a flaky test suite that fails 30% of builds, or an environment that drifts from production — these are platform problems that no amount of individual hustle will solve.
What actually matters for a platform team is system-level flow and team-level outcomes. Can a team take an idea from commit to production safely and quickly? Can they recover when something goes wrong? Do they have focus time to do deep work, or are they drowning in toil and interruptions? When we shifted our measurement from "are developers working hard" to "is the system enabling effective work," conversations changed. Instead of defending velocity, we started discussing where the platform was adding friction.
Why Platform Engineering Needs System Metrics
Platform engineering succeeds when it reduces cognitive load and accelerates feedback loops. That means our metrics need to reflect the platform's leverage points: deployment automation, paved road adoption, self-service capabilities, and incident response. If your Golden Paths: Reducing Cognitive Load for Development Teams are working, you should see it in lead time and rework rates, not just in template usage counts. I now treat any productivity metric that can't be traced to a platform decision as interesting but not actionable.
Decoding DORA: From Deployment Frequency to Failed Deployment Recovery
DORA — from the Google Cloud DevOps Research and Assessment team — distills software delivery performance into four key metrics. I've found that teams understand them quickly but implement them poorly, often because they define the inputs differently across services.
The four metrics are:
Deployment Frequency: How often an application is successfully released to production. Elite performers deploy on-demand, multiple times per day.
Lead Time for Changes: The time from code committed to code running in production. This is not ticket lead time or cycle time from first commit; it's strictly the delivery pipeline duration after the change is complete.
Change Failure Rate: The percentage of deployments that cause a failure in production requiring remediation (rollback, hotfix, feature flag off). This needs a clear definition of "failure" — is a failed deployment that never reaches users counted? We count any change that triggers an incident or requires an emergency fix.
Failed Deployment Recovery Time (formerly Mean Time to Recovery): How long it takes to recover from a failure in production. In practice, this is time from incident declared to service restored, not necessarily time to root cause fix.
The Four Keys and How They Interact
These metrics cluster into two outcomes: throughput (deployment frequency + lead time) and stability (change failure rate + recovery time). The key insight from DORA research is that they are not a tradeoff at the high end. Elite teams are both faster and more stable. In our own data across 40 services, the teams that deployed most frequently had a 2.3x lower change failure rate than infrequent deployers, because small, frequent changes are easier to reason about and roll back.
Where teams get tripped up is benchmarks. The annual DORA report labels teams as Elite, High, Medium, Low. I've seen leadership fixate on reaching "Elite" thresholds (e.g., lead time under one hour) without understanding their context. If you run a regulated workload with required manual approvals or a data pipeline with long-running integration tests, sub-hour lead time may be neither possible nor desirable. Use the benchmarks to set direction, not as a performance review target.
Defining Boundaries Consistently
The hardest part is consistent definitions. What counts as a "deployment" in a microservices world with 50 daily builds and progressive delivery? We standardized on: a deployment is a change to production that is available to users, tracked via a deployment event written to our metadata store when Argo Rollouts completes promotion. For Kubernetes-based delivery, the Kubernetes Documentation on Deployments and progressive delivery strategies helped us align on what constitutes a successful rollout versus a canary that was automatically reverted.
The SPACE Framework: Why Satisfaction and Well-Being Resist Dashboards
If DORA tells you how fast and stable your delivery system is, SPACE tells you whether that speed is sustainable and human. Developed by researchers at Microsoft and GitHub, SPACE acknowledges that productivity has at least five dimensions: Satisfaction and well-being, Performance, Activity, Communication and collaboration, and Efficiency and flow.
I initially dismissed SPACE as too qualitative to be useful for a platform team. I was wrong. After we hit "High" on DORA metrics but saw attrition rise on teams owning our most complex services, we realized we were optimizing the pipeline while burning out the people using it. SPACE gave us a way to instrument that blind spot without turning developer experience into a surveillance program.
Unlike DORA, SPACE is a framework, not a prescribed set of four metrics. You choose measures for each dimension that fit your context.
Satisfaction and well-being is typically captured via surveys: Do developers feel supported? Do they have autonomy? Are they experiencing burnout?
Performance refers to outcome, not output — did the feature deliver customer value, did reliability improve?
Activity counts artifacts — commits, PRs, builds — but SPACE explicitly warns against using it alone.
Communication and collaboration examines how teams interact: review latency, knowledge sharing, decision distribution.
Efficiency and flow measures whether developers can make progress without interruption: focus time, handoff delays, time to get answers.
Making SPACE Practical for Platform Teams
We operationalize SPACE with a mix of system data and lightweight surveys, run quarterly. For Efficiency and flow, we use calendar focus time (blocks of 2+ hours without meetings) from work calendar data and interruption signals from Slack and PagerDuty. For Communication, we look at PR review wait time and the number of teams required to ship a typical change — a proxy for coupling. For Satisfaction, we borrowed two questions from the DevEx framework: "How satisfied are you with your ability to get work done?" and "How much friction did your tools cause this sprint?"
The key is to never report SPACE metrics at the individual level. We aggregate to the team and treat survey data as confidential. When we failed at this once and showed a heatmap of "PRs per person," we saw immediate gaming and a drop in survey response rates. Trust is the instrument; if you break it, the data is worthless.
Instrumenting Your Platform to Capture DORA Without Gaming the Numbers
Collecting trustworthy DORA data requires wiring your software development lifecycle into a single source of truth. Spreadsheet self-reporting does not work. I've found the most reliable approach is to emit events from the systems that already know: Git, CI, CD, and incident management.
Start by defining event types: code.committed, build.succeeded, deployment.started, deployment.succeeded, deployment.failed, incident.declared, incident.resolved. Every service writes these to a central table, regardless of which CI/CD tool it uses. That abstraction lets you support GitHub Actions, Jenkins, and Argo Workflows without changing the metrics logic.
Tagging Deployments as Source of Truth
The single biggest implementation decision is how you link a deployment back to the commits it contains. We require every production deployment to be tagged with the Git SHA and a trace_id propagated from the merge commit. Our CD controller (ArgoCD) writes a record on sync success. This gives us an auditable link for lead time calculation and failure attribution.
-- Lead Time for Changes: time from first commit on branch to production
-- Deployed via ArgoCD, data in platform_metrics.deployments and git.commits
WITH production_deploys AS (
SELECT
service_name,
git_sha,
deployed_at
FROM platform_metrics.deployments
WHERE environment = 'production'
AND status = 'succeeded'
AND deployed_at >= NOW() - INTERVAL '90 days'
),
commit_times AS (
SELECT
c.sha,
c.service_name,
MIN(c.committed_at) AS first_commit_at
FROM git.commits c
JOIN production_deploys p ON p.git_sha = c.sha
GROUP BY c.sha, c.service_name
)
SELECT
p.service_name,
PERCENTILE_CONT(0.5) WITHIN GROUP (ORDER BY EXTRACT(EPOCH FROM (p.deployed_at - ct.first_commit_at))/3600) AS median_lead_time_hours,
COUNT(*) AS deployments
FROM production_deploys p
JOIN commit_times ct ON ct.sha = p.git_sha
GROUP BY p.service_name
ORDER BY median_lead_time_hours DESC;
Calculating Lead Time for Changes Without Jira Theater
A common mistake is calculating lead time from Jira "In Progress" to "Done." That measures process compliance, not pipeline performance. True DORA lead time is Git commit to production. For teams using trunk-based development, this is straightforward. For long-lived branches, decide whether to use first commit on branch or merge commit time — we use merge commit time for the primary metric and track branch lifetime as a separate SPACE efficiency signal.
For Change Failure Rate, we join deployments to incidents where incident.trigger_deployment_sha matches. We only count incidents with severity >= SEV3 that required code remediation or rollback within 7 days of deployment. An automated canary rollback that never impacted users is not counted as a failure, but it is logged for stability review. This definition took us three iterations to align with SRE and product — expect that negotiation.
# Export DORA events from GitHub Actions + ArgoCD to BigQuery/Postgres
# Run as a CronJob in your platform cluster
import os
from datetime import datetime, timezone
import requests
ARGO_API = os.environ["ARGO_API"]
BQ_TABLE = "platform_metrics.deployments"
def record_deployment(service, sha, status, environment="production"):
event = {
"service_name": service,
"git_sha": sha,
"environment": environment,
"status": status, # succeeded | failed
"deployed_at": datetime.now(timezone.utc).isoformat(),
"source": "argocd"
}
# Upsert to warehouse; idempotency via service+sha+environment
requests.post(f"{ARGO_API}/api/v1/events", json=event, timeout=10)
# also write to BQ/warehouse for SQL-based DORA calc
write_to_warehouse(BQ_TABLE, event)
def write_to_warehouse(table, row):
# placeholder for your warehouse client (e.g., google-cloud-bigquery)
pass
Automating Recovery Time From Incident Data
Failed Deployment Recovery Time comes from your incident platform, not CD. We use PagerDuty and Statuspage webhooks. When an incident is declared with a linked service and deployment SHA, we mark incident.declared_at. Recovery is incident.resolved_at when monitoring returns to healthy for 10 minutes. If you rely on manual incident closure, your MTTR will be artificially inflated — automate the "resolved" signal from SLO burn-down.
DORA vs. SPACE vs. Flow: Choosing Metrics That Align With Platform Engineering Goals
Once you have DORA instrumented, the temptation is to add more frameworks. I've seen teams try to implement DORA, SPACE, DevEx, and Flow metrics simultaneously and end up with 30 dashboards nobody looks at. The job is to pick the minimal set that connects platform investment to business outcomes.
We use DORA as our system health metrics — reviewed weekly by platform and monthly with engineering leadership. We use a subset of SPACE (Satisfaction, Efficiency/flow, Communication) quarterly to check sustainability. We deliberately avoid Flow metrics (like Flow Efficiency from the Flow Framework) at the individual level because they require extensive work-item taxonomy that rarely stays accurate.
The platform's contribution shows up in the movement of these metrics, not absolute values. When we launched self-service ephemeral environments and automated preview deployments via our Backstage Developer Portal: Software Catalog, Templates and TechDocs integration, median lead time dropped from 4.2 days to 8.5 hours for teams that adopted the templates, while change failure rate stayed flat. That's a platform win you can defend.
| Dimension | DORA (4 Keys) | SPACE Framework | What I Use It For |
|---|---|---|---|
| Primary Focus | Delivery throughput & stability | Multidimensional productivity & well-being | DORA for pipeline health; SPACE for sustainability |
| Data Source | Git, CI/CD, incident system (fully automated) | Surveys + system data (calendar, PRs, flow) | Automate DORA; sample SPACE quarterly |
| Granularity | Service / team / org (never individual) | Team / org (satisfaction must be anonymized) | Team-level aggregation only |
| Platform Leverage | Direct: deployment automation, testing, progressive delivery | Indirect: reduces cognitive load, improves flow | Map platform features to metric movement |
| Risk If Misused | Optimizes for speed over quality; encourages batch gaming | Survey fatigue; activity metrics become surveillance | Govern with clear definitions and transparency |
| Cadence | Weekly / per-deployment | Quarterly (surveys) + continuous (system signals) | Separate operational and strategic reviews |
If you can only adopt one, start with DORA. It's fully automatable and gives platform teams a defensible ROI story. Add SPACE when you have the trust and bandwidth to run surveys well. In my experience, trying to do SPACE without a plan for acting on the results does more harm than good — developers quickly learn that feedback goes nowhere.
From Metrics to Action: Turning Lead Time Signals Into Golden Path Improvements
Metrics are only useful if they create a feedback loop to platform improvements. We review DORA data not as a scoreboard but as a diagnostic. A rising lead time is a symptom — the investigation tells you what to build next.
For example, a platform team I worked with saw lead time for changes increase from 14 hours to 38 hours after a security requirement added mandatory SAST scanning. Instead of arguing to remove the scan, we instrumented where the time was spent: checkout and dependency install (12 min), SAST scan (22 min), container build (9 min), and approval wait (18 hours average). The bottleneck wasn't the scan itself but the manual approval queue for findings. We built an automated triage policy that auto-approved low-severity findings with a ticket, and lead time returned to 16 hours while maintaining compliance.
Another pattern: high change failure rate combined with high deployment frequency often points to missing progressive delivery. Teams deploying daily with a 25% failure rate were doing direct-to-production deploys without canaries. We provided a paved road using Argo Rollouts with automated analysis (success rate, latency) and one-click rollback. Failure rate dropped to 9% within a quarter, not because developers wrote fewer bugs, but because the platform caught them before they fully rolled out.
# Terraform: Provision a DORA dashboard data source + alert for degraded lead time
# Uses Datadog or Grafana provider - example with datadog_dashboard_json
terraform {
required_providers {
datadog = {
source = "datadog/datadog"
version = "~> 3.40"
}
}
}
resource "datadog_dashboard_json" "dora_overview" {
dashboard = jsonencode({
title = "DORA - Platform Overview"
description = "Deployment Frequency, Lead Time, CFR, MTTR by team"
widgets = [
{
definition = {
type = "query_value"
title = "Median Lead Time (hours) - p50"
requests = [{ q = "avg:platform.dora.lead_time.hours{*}" }]
}
}
]
notify_list = ["platform-team@company.com"]
})
}
resource "datadog_monitor" "lead_time_degraded" {
name = "DORA Lead Time degraded - {{team.name}}"
type = "metric alert"
query = "avg(last_1d):avg:platform.dora.lead_time.hours{*} by {team} > 24"
message = "Lead time >24h for {{team.name}}. Check pipeline wait times and approval queues. @slack-platform-alerts"
tags = ["dora", "platform"]
}
For details on provisioning this type of platform telemetry at scale, the Terraform Documentation on providers and resource import is the reference we use to keep dashboards as code.
Finally, connect metrics to developer experience explicitly. When we report DORA quarterly, we pair it with one SPACE insight and one platform commitment. Last quarter it was: DORA showed lead time improved 32% for path adopters; SPACE showed satisfaction with "time to first preview environment" was still low (2.8/5); our commitment was to reduce preview environment boot from 8 minutes to under 3 by caching build layers and pre-warming namespaces. That loop — measure, listen, build — is what makes metrics trusted.
Frequently Asked Questions
Should we measure DORA metrics per developer or per team?
Always per service and team, never per individual. DORA is a system metric. Measuring deployment frequency or lead time per person incentivizes gaming (splitting changes, cherry-picking small tickets) and obscures bottlenecks that live in handoffs, approvals, and platform tooling. Aggregate to the team or product area, and use the data to improve the system — faster pipelines, better test parallelism, clearer ownership — not to rank developers.
How do you calculate Change Failure Rate when you use feature flags and canary releases?
Define "failure" as a change that causes user-visible degradation or requires remediation beyond an automated canary rollback. We count a deployment as failed if it triggers an incident (SEV3+) or needs a hotfix/flag kill within 7 days. An automated canary that rolls back without impact is not counted as a change failure, but we track canary reverts as a separate stability signal. Document your definition and apply it consistently; the trend matters more than the absolute percentage.
We improved DORA metrics but developers still report high friction. Why?
DORA measures delivery system efficiency, not day-to-day developer experience. You can have excellent deployment frequency while developers spend hours fighting flaky tests, unclear ownership, or waiting for reviews. That's where SPACE dimensions like Satisfaction and Efficiency/flow help. Run a short, anonymous survey on focus time, tool friction, and perceived support, and pair it with system data like PR review latency and build retry rate. I often find the friction is outside the delivery pipeline — onboarding, local development, or cross-team coordination.
How long does it take to get reliable DORA data?
With proper event instrumentation from Git, CI/CD, and incident management, you can get directional data in 2-4 weeks and stable trends in one quarter. The biggest time sink is agreeing on definitions (what counts as a deployment, what counts as a failure) and ensuring every service emits events consistently. Start with 3-5 representative services, validate the SQL/logic manually for a few deployments, then roll out to the fleet via your Internal Developer Platform templates.