DevOps metrics
In the
2019 Accelerate State of DevOps Report, DevOps Research and Assessment (DORA) suggested four metrics that form a great foundation for your DevOps initiatives. If you measure nothing else, then these are going to give you a good indication of the health of your value stream and how it’s evolving.
Deployment frequency – This measures how often you’re deploying to production and should be easy to assess. The more frequently you deploy, the more value you’re delivering to your customers, so it’s the clearest indicator of a successful DevOps organisation. While it shows you have a mature deployment process where you’re willing to push change through, it doesn’t show how valuable the software is.
Lead time for changes – This measures how long it takes from code commit to that code being live into production. Depending on the company, this might be a few minutes or a few months. It demonstrates whether teams are able to deploy changes without getting stuck in multiple bottlenecks. If your lead time for changes is long, that means there’s lots to improve through streamlining and automation.
Change failure rate – This measures how many of those changes fail. If you’re deploying frequently and your lead time for changes is fast, it’s important that those deployments don’t always need fixing. If you’re experiencing lots of failures, you’re having to roll changes back, which means customers are missing out. Likewise, if you’re not experiencing any, chances are you’re moving too slowly, so customers aren’t enjoying any real value either. Change failure rate is a good indication of how successful your testing coverage is.
Mean time to restore services – Lastly, this measures the amount of time it takes to bounce back when something does fail. It shows how quickly you’re able to respond and get a service back online, either by fixing bugs fast or rolling back a previous iteration. The quicker your recovery time is, the more likely your business will innovate and take risks, generating more revenue and profit, and ensuring you’re always one step ahead of the competition.