Resources

Improving DevOps Culture Through Transparent Metrics

Improving DevOps Culture Through Transparent Metrics

Transparent metrics improve a DevOps culture only when two rules hold: everyone on the team can see the numbers, and nobody is ranked by them. Break the second rule and people start gaming the figures, which defeats the point of showing them. Puppet’s 2023 State of DevOps Report found that 94% of respondents agree platform engineering helps their firms realize the benefits of DevOps. Shared tooling helps. It does not settle the argument about what to measure, and DevOps is mostly collaboration between development and operations teams anyway.

Which four metrics does DORA track?

The DevOps Research and Assessment (DORA) group built its set around four numbers. Change lead time and deployment frequency measure throughput. Change failure rate and mean time to recovery (MTTR) measure stability. For a closer look at the set, examining DORA metrics from an infrastructure-as-code angle is a good second read.

The four DORA metrics grouped into throughput (change lead time, deployment frequency) and stability (change failure rate, time to recovery)

The set has moved on. DORA’s own guide now lists five, renaming MTTR as failed deployment recovery time and adding a deployment rework rate. The four classic metrics are still the ones most dashboards show.

Publish the numbers to the whole team

Transparent means one page.

  • One shared dashboard, not three versions of the truth
  • Team-level numbers only, never per person
  • A short review in the retrospective, where the trend gets discussed

Obviously, you want the data to come from the pipeline itself, not from a spreadsheet somebody updates on Fridays.

Deployment frequency

I’d skip a frequency target and fix the pipeline instead. Deployment frequency is a symptom of small batches, fast tests and trusted rollbacks, and a target for the number pushes teams to split changes into trivial ones to hit it.

Watch it next to change failure rate. Frequency going up while failures hold steady is the healthy picture. Frequency going up with failures climbing means quality is paying for the speed.

Lead time

Change lead time runs from the commit to the change running in production. A pull request that sits two days waiting for a reviewer is the annoyance behind most long lead times, and manual approvals and slow test suites are close behind.

Shorter is better. Automating the CI/CD pipeline and its tests shortens it, and the metric is a good way to find where changes actually wait.

How do you lower change failure rate and recovery time?

Change failure rate is the share of deployments that need an immediate fix afterward, such as a rollback or a hotfix. MTTR is how long it takes to restore service after an incident.

PracticeMetric it moves
Shift-left testing, testing earlier in the lifecycleChange failure rate
Regular code reviews and refactoringChange failure rate
Automated monitoring and alertingMTTR
Incident response drillsMTTR
Pipeline automation with automated testsLead time

After an incident, run a post-mortem and write down what changed, so the same failure does not return under a new name. Keep it blameless. People who expect to be blamed stop reporting small failures, and the metric then looks better than the system really is.

For recovery, automated monitoring shortens the time to notice a problem, and drills shorten the time to act on it. A team that has never practiced a rollback finds out how slow it is during a real outage.

  • Rehearse the rollback on a staging environment
  • Keep the on-call runbook current
  • Time the drill, then compare it with the last one
YouTube player

Both numbers are fairly easy to read, and watching them fall is a good way to see a culture change.

Dashboards or conversations

A dashboard nobody discusses is wallpaper. Put the numbers in the retrospective, ask what moved them, and change one thing at a time, because three simultaneous changes leave nobody able to say which one improved the trend or which one quietly made it worse.

Bogdan Sandu

Stay sharp. Ship better code.

Every week: one curated article, one tool worth knowing, one tip you can use tomorrow. No noise, no padding.