AI Hints
Home›CI/CD with GitHub Actions Tutorial›Metrics and Next Steps
CI/CD with GitHub Actions · Lesson 133 of 138

DevOps Metrics

Measuring delivery.

⏱ 2 min read▶ Video at 2:36:07🎓 Free
Watch this lesson in the CI/CD with GitHub Actions courseWatch on YouTube ↗Full CI/CD with GitHub Actions course

How do you know if your delivery is getting better? Research by the DORA team found four simple metrics, that separate high performing teams from the rest.

DevOps Metrics
From the video: DevOps Metrics
  • Is delivery improving?
  • Four DORA metrics
  • High performers stand out

The four metrics

Deployment frequency is how often you release. Lead time is how long a commit takes to reach production. Change failure rate is the share of deploys that cause a problem. And recovery time is how fast you fix one. The first two measure speed, and the last two measure stability.

MetricMeasuresGood teams
Deployment frequencyspeeddaily or more
Lead time for changesspeedunder a day
Change failure ratestabilitylow
Time to restorestabilityunder an hour

Counting deploys

If every deploy gets a git tag, git can count them. Here we've tagged five deploys. Git tag with a pattern lists them, and WC counts them. Real teams collect these numbers automatically, from the pipeline.

Terminal
git tag -l 'deploy-*'
deploy-1
deploy-2
deploy-3
deploy-4
deploy-5
git tag -l 'deploy-*' | wc -l
5

Summary

Deployment frequency, lead time, change failure rate, and recovery time. Good CICD improves all four together. Next, what to learn after this course.

Key takeaways
  • How often
  • How fast
  • How safe
Next up: What to Learn Next — your next steps