Menu

Business

Engineering Metrics That Matter: DORA vs SPACE Without Gaming Velocity

Table of contents (5 sections)

Every engineering organization eventually gets asked the same leadership question: how do we know whether our teams are delivering faster and more reliably this quarter than last quarter? Unfortunately, the easiest numbers to pull from Git or issue trackers—lines of code, commit counts, and story points completed—measure raw motion rather than customer value or system stability.

As AI coding assistants accelerate code generation and teams adopt continuous deployment, superficial activity counters become even easier to inflate without improving actual outcomes. Pairing rigorous code quality practices—such as our practical checklist for reviewing AI-generated code and strong cross-team habits from effective workplace communication practices—with modern frameworks like DORA and SPACE gives engineering leaders signal without turning metrics into weapons.

Why Lines of Code and Story Points Backfire as Productivity Metrics

Measuring developers by lines of code rewards verbose boilerplate, copy-pasted abstractions, and reluctance to delete dead modules. Similarly, treating story points as a cross-team throughput scoreboard destroys sprint estimation within weeks: teams quietly inflate point estimates from threes to fives to keep velocity charts climbing, leaving product managers with meaningless forecasts.

Single-axis metrics fail because software engineering is a multi-dimensional sociotechnical system. Pushing deployment speed up while ignoring incident rates burns out on-call rotations, while chasing zero defects by adding manual approval boards stalls delivery completely. Healthy engineering measurement pairs throughput with stability and human sustainability.

Inside DORA’s Five Software Delivery Performance Metrics

The DevOps Research and Assessment (DORA) program remains the industry baseline for measuring how effectively a team ships software to production. Crucially, the official DORA software delivery metrics guide explains that DORA has evolved from its original four keys to a five-metric model, including replacing Mean Time to Recovery (MTTR) with Failed Deployment Recovery Time.

DORA research links strong software delivery performance not only to better organizational outcomes, but also to stronger team member well-being:

  • Deployment Frequency: How often an organization successfully releases changes to production or end users, reflecting batch size and release automation maturity.
  • Lead Time for Changes: The elapsed time from a commit being made to that code running successfully in production, highlighting CI speed and code review bottlenecks.
  • Change Failure Rate: The percentage of production deployments that cause a degraded service or require remediation such as a hotfix or rollback.
  • Failed Deployment Recovery Time: How long it takes to restore service specifically after a failed deployment, sharpening focus on rollbacks, feature flags, and observability.
  • Deployment Rework Rate: The fifth metric introduced in DORA’s five-metric model, capturing unplanned remediation deployments that divert capacity from planned product work.

Notice how DORA metrics balance each other by design. A team cannot game Deployment Frequency by shipping broken builds, because Change Failure Rate and Failed Deployment Recovery Time immediately expose instability.

Balancing Throughput with the Five Dimensions of the SPACE Framework

While DORA excels at diagnosing the delivery pipeline from commit to production, it does not directly measure developer burnout, architectural clarity, onboarding friction, or meeting overload. To capture those human and collaborative dynamics, researchers at GitHub, the University of Victoria, and Microsoft published The SPACE of Developer Productivity.

Engineering and product leaders discussing business and delivery strategy
Combining pipeline telemetry with qualitative team feedback helps leaders diagnose bottlenecks collaboratively. Photo: rawpixel.com (CC0), via Wikimedia Commons.

The SPACE framework organizes engineering effectiveness across five complementary dimensions, recommending that teams track metrics spanning at least three dimensions so blind spots cannot hide:

SPACE DimensionWhat It CapturesHealthy Signal Examples
Satisfaction and well-beingFulfillment, sustainability, and tooling frictionQuarterly developer survey scores and on-call page load
PerformanceActual product and reliability outcomesSLO attainment, customer adoption, and bug escape trends
ActivityCountable engineering outputsMerged PR volume and CI build runs (never used alone)
Communication and collaborationReview clarity and cross-team handoffsPR review turnaround time and RFC participation
Efficiency and flowUninterrupted focus and minimal handoff delaysLead time for changes and uninterrupted focus blocks

In practice, DORA and SPACE work best together rather than as rivals. DORA gives you crisp telemetry for the Efficiency and Performance dimensions of your CI/CD pipeline, while lightweight quarterly SPACE surveys tell you whether teams achieved fast delivery sustainably or through late-night heroics.

Computing Deployment Frequency and Change Failure Rate in PostgreSQL

You do not need an expensive SaaS analytics suite to start tracking DORA baselines. If your CI/CD pipelines already log deployment and incident events into an internal PostgreSQL warehouse, a single SQL query can compute weekly Deployment Frequency and Change Failure Rate per service.

sql-- Weekly DORA Deployment Frequency and Change Failure Rate by service
WITH weekly_deploys AS (
  SELECT
    service_name,
    date_trunc('week', deployed_at)::date AS deploy_week,
    COUNT(*) FILTER (WHERE status = 'succeeded') AS total_deploys,
    COUNT(*) FILTER (
      WHERE status = 'succeeded'
        AND caused_incident = TRUE
    ) AS failed_deploys
  FROM production_deployments
  WHERE deployed_at >= NOW() - INTERVAL '12 weeks'
  GROUP BY service_name, date_trunc('week', deployed_at)
)
SELECT
  service_name,
  deploy_week,
  total_deploys,
  failed_deploys,
  ROUND(
    CASE
      WHEN total_deploys = 0 THEN 0
      ELSE (failed_deploys::numeric / total_deploys::numeric) * 100
    END,
    2
  ) AS change_failure_rate_pct
FROM weekly_deploys
ORDER BY deploy_week DESC, service_name ASC;

Keep your data definitions explicit and consistent across teams. Document whether a deployment event represents a production Kubernetes rollout, a serverless release, or a database migration, and link incident records back to the triggering deployment ID so Change Failure Rate reflects real user-facing regressions rather than noisy staging alerts.

Rolling Out Metrics Safely Without Triggering Goodhart’s Law

Goodhart’s Law warns that when a measure becomes a target, it ceases to be a good measure. The fastest way to ruin DORA or SPACE is tying individual performance reviews, bonuses, or headcount cuts to pull-request counts or lead-time thresholds. Once engineers realize a dashboard is judging individuals, data quality collapses into defensive gaming.

The 2024 DORA Accelerate State of DevOps Report reinforces this architectural mindset, emphasizing the importance of balancing AI-driven workflow changes with sharp end-user focus and stable organizational priorities. Metrics should help teams spot systemic friction—not rank developers.

Measure pipelines, platforms, and systems at the team or service level—never individuals. Use metrics to start architectural conversations about slow test suites, flaky environments, and unclear specs.

  • Aggregate at the team or service level: Keep dashboards scoped to services and value streams rather than individual engineer leaderboards.
  • Pair quantitative telemetry with qualitative context: Review DORA trends alongside sprint retrospectives and developer experience surveys so numbers never get misinterpreted out of context.
  • Target bottlenecks, not vanity thresholds: If Lead Time for Changes spikes, inspect slow CI queues, oversized pull requests, or manual QA gates rather than telling developers to merge faster.
  • Audit data hygiene quarterly: Check that deployment webhooks and incident tags remain accurate as teams adopt new tooling or AI-assisted workflows.

When rolled out transparently, DORA and SPACE turn vague debates about engineering speed into concrete improvements: smaller pull requests, faster test feedback, safer rollbacks, and calmer on-call rotations.

Image credits: Featured dashboard whiteboard photo by Samuel.mann (CC BY-SA 3.0), via Wikimedia Commons. Inline business strategy discussion photo by rawpixel.com (CC0), via Wikimedia Commons.

Get the next article

New guides land in the RSS feed first. Add it to your reader, no account needed.

Follow the RSS feed