Overview
Curated: · Written: · Reviewed:
Developer Experience Metrics
In one line
DevEx metrics show whether a platform makes it easier to ship safely. Reach for DORA to verify delivery outcomes, the DevEx drivers (feedback loops, cognitive load, flow state) to explain why they move, and counter-metrics to catch gaming. Never turn them into an individual score.
Key definitions
- Metric contract: owner, definition, population, denominator, window, source, exclusions and action threshold. If a row is missing, you have a chart, not a metric.
- Lead time for changes: elapsed time from a named start event (first commit, PR open or merge) to a successful production deploy. Freeze the start point.
- Deployment frequency: successful production deployments per period. Merges and pipeline runs do not count.
- Change failure rate: share of deployments that cause an incident or an unplanned rollback. Planned rollbacks are excluded.
- Failed deployment recovery time: failure detected to service restored. Narrower than general incident MTTR.
- Deployment rework rate: share of deployments that fix a previous deployment. DORA's 2024 fifth measure.
- Counter-metric: the measure paired with a headline metric to show when the headline is being optimized directly.
Formulas and complexity
Hypothetical check: treated teams 500 to 350 and control teams 480 to 420 give $\hat{\tau} = (350 - 500) - (420 - 480) = -90$ build-minutes per team per week.
How it works
- A platform capability removes a wait or a decision.
- The experience drivers change: how long developers wait inside the loop and how often they switch context.
- Delivery outcomes (lead time, deployment frequency, change failure rate, recovery time) show whether shipping changed.
- Satisfaction and counter-metrics confirm the change is real and not gamed.
When to use and when not to
| Question | Use | Why | Avoid when |
|---|---|---|---|
| Is shipping getting faster or safer? | DORA | Shared vocabulary, measures delivery outcomes | You need the cause |
| Are reviews stalling, or is on-call load rising? | SPACE | Covers collaboration and well-being | You need one headline score |
| Which friction slows delivery? | DevEx drivers | Names mechanisms you can change | No telemetry to corroborate perception |
| Compare teams | DORA trends within each team | Context changes what the numbers mean | Cross-team league tables without context |
| Rank individuals | Nothing | Activity traces are not units of value | Always |
Traps interviewers probe
- Mixing lead-time start points. Fix: state the start event. One change reads 53 h from first commit and 3 h from merge.
- Reporting the mean. Fix: report the median and nearest-rank p90. In one hypothetical week, a single 96 h deploy lifts the mean to 40 h while the median is 3 h. Low-volume services need uncertainty bounds and longer windows.
- Claiming company-wide improvement from mix. Fix: aggregate per service and check the deploy mix. Company lead time fell from 18.4 h to 11.2 h while auth-api got slower, because the fast service grew tenfold.
- Treating activity as productivity. Fix: keep commits and PRs as one weak SPACE dimension, paired with a counter-metric, and never rank engineers on them.
- Trusting a survey average at low response. Fix: publish the response rate and non-response skew. A 4.2 average at 30% response weights to about 3.0 if non-respondents average 2.5.
Interview tips
Open with the decision: "I start with the decision this number changes, then the owner, definition and window." Then name the start event for any lead time you cite.
Follow-ups to expect:
- "How do you know the platform caused it?" Name a phased rollout, an eligible comparison cohort or difference-in-differences, and list the concurrent changes.
- "What stops gaming?" Name the counter-metric beside each metric.
- "Why not one score?" Activity and outcomes are sociotechnical, and a single number hides the confounds.
- "Is satisfaction a leading indicator?" Often yes: it can move before change failure rate or recovery time. Confirm with telemetry.
- "Can you trust this dashboard?" Check for duplicate events, bots, rollbacks, clock skew and ownership changes before reading any trend.
30-second answer outline:
- Decision and owner (5 s).
- Metric contract: definition, population, window (10 s).
- Where the wait sits: feedback loops, cognitive load, flow (8 s).
- Verify with DORA and a counter-metric, then name the confound and the comparison design (7 s).
Feedback on this overview
Log in free to save your progress and keep bookmarks and notes for a quick revision before your interview.