Engineering Health and Metrics
How leads measure delivery flow, reliability, quality, and team sustainability without weaponizing metrics against individual engineers.
TL;DR
Healthy engineering productivity means sustainable delivery with low rework, not maximum individual busyness. Pair DORA throughput and stability trends with team-health signals (WIP age, PR review time, on-call load, bus factor), and use them strictly to fix system bottlenecks—never to grade individuals.
Why it exists
When teams only measure "tickets closed" or "lines of code," they reward oversized PRs, skipped tests, and burnout. Good metrics reveal where work actually stalls—such as 3-day PR review queues, flaky CI pipelines, or single-person knowledge silos.
Mental model: Six balanced signal areas
| Area | Signals to watch | What it reveals |
|---|---|---|
| Throughput (DORA) | Deployment frequency, change lead time | How fast and smoothly small changes reach users |
| Stability (DORA) | Change failure rate, recovery time, rework rate | Whether speed is coming at the cost of outages or rollbacks |
| Flow | WIP age, PR review turnaround, blocked time | Where work queues up between coding and merge |
| Quality | Escaped defects, flaky tests, build failure rate | Strength of automated gates (process/dor-dod-quality-gates) |
| Team health | Unplanned interruptions, on-call pages, bus factor | Whether the current pace is sustainable |
| Customer value | Feature adoption, task completion, support volume | Whether shipped code solves real user problems |
Do it: Run one improvement experiment at a time
# Improvement Experiment: Cut PR Review Wait Time
- **Baseline:** Median time from PR open to first review is 26 hours.
- **Hypothesis:** Adding a 2-hour review SLA for PRs under 300 lines will cut cycle time without hurting quality.
- **Experiment:** For 2 sprints, split PRs > 400 lines and assign a review buddy at stand-up.
- **Result & Decision:** Median review wait dropped to 4 hours; adopt permanently.High-leverage fixes for common bottlenecks
- Too much WIP: Limit active tickets per person and unblock aging items before starting new ones.
- Knowledge silos: Ensure at least two engineers can deploy, debug, and support every critical service via pairing and rotations.
- Meeting fragmentation: Protect uninterrupted 2-hour maker blocks and move routine status async.
Gotchas
- Goodhart's Law: The moment "PRs merged" or "deployment count" becomes an individual KPI, people game the number instead of helping teammates.
- Optimizing throughput alone: DORA research shows fast deployments without test automation and maintainability only accelerate rework.
- Changing five things at once: Fix one bottleneck per sprint so you can tell which change actually helped.
Production checklist
- Metrics are reviewed as team trends monthly, never as individual scorecards.
- Throughput metrics are always paired with stability and team-health signals.
- Critical services have a bus factor ≥ 2 (two people who can deploy and debug).
- Every metric-driven change is run as a time-boxed experiment with a baseline.
Check yourself
Check Yourself
1. A team's deployment frequency doubled this quarter, but rollbacks and hotfixes tripled. Which DORA dimension is warning you?
2. Why should a Team Lead avoid ranking engineers by number of PRs merged or tickets closed?
Sources
Related Notes
Incident Leadership
How a Team Lead or Incident Commander coordinates outages—separating IC from hands-on debugging, running factual status updates, and driving prevention actions to closure.
The T-Shaped Technical Leader and 18-Month Roadmap
Why senior engineers shouldn't choose purely between isolated coding and people management—and how to build working competence across tech lead, project, and product skills in six phases.