advanced-ads
domain was triggered too early. This is usually an indicator for some code in the plugin or theme running too early. Translations should be loaded at the init
action or later. Please see Debugging in WordPress for more information. (This message was added in version 6.7.0.) in /home3/devopscu/public_html/wp-includes/functions.php on line 6114cookie-law-info
domain was triggered too early. This is usually an indicator for some code in the plugin or theme running too early. Translations should be loaded at the init
action or later. Please see Debugging in WordPress for more information. (This message was added in version 6.7.0.) in /home3/devopscu/public_html/wp-includes/functions.php on line 6114We have already discussed about DevOps culture<\/a> and a few metrics and KPIs<\/a> before. In today\u2019s article, we will be focusing on 4 standard metrics provided by DORA and how to improve them.<\/p>\n What are DORA Metrics in DevOps & How to Improve Them?<\/p>\n The aim of DevOps is to improve the software development process through better communication and collaboration between the development and operations teams. DevOps culture has four basic principles as per the CAMS model:<\/p>\n The third principle, that is measurement, is what entails the metrics and Key Performance Indicators (KPIs) used to evaluate the DevOps performance of companies. These metrics and KPIs also help companies find loopholes in their development and deployment process. There are several metrics and KPIs, but four of them have been set as standard by DORA.<\/p>\n Let\u2019s see what is DORA and it\u2019s 4 standard metrics\u2026<\/p>\n DevOps Research and Assessment (DORA)<\/strong> is a research program launched by Gene Kim<\/em>, Jez Humble<\/em>, and Dr. Nicole Forsgren<\/em>. It is a team at Google Cloud that \u201cseeks to understand the capabilities that drive software delivery and operations performance.\u201d (DORA<\/a>)With years of research, DORA has identified 4 key metrics that help to measure the DevOps performance of businesses. These key metrics can be categorized based on what they measure.<\/p>\n The first category measures the throughput<\/em> (or velocity) which refers to how fast changes are being made. It includes:<\/p>\n The second one measures stability<\/em> which refers to the quality of the changes and the ability of the team to fix any failures. It includes:<\/p>\n Based on these metrics, DORA classifies the DevOps performance of companies into four: Elite, High, Medium and Low. <\/em>After understanding all the metrics, you can also attempt the DORA Quick Check<\/a> to evaluate these metrics for your company.<\/p>\n So let\u2019s discuss each one of the metrics and how to improve them one by one\u2026<\/p>\n Deployment frequency tells how often new codes are deployed to production. It can be simply calculated by counting the number of codes deployed over a period of time. It can range from multiple times a day (for high-performing teams) to once every 6 months or more (for low-performing teams).<\/p>\n Change lead time or the lead time for changes indicates the efficiency of the CI\/CD pipeline based on how much time it takes for a change to get successfully deployed to production. In other words, it is \u201cthe difference in hours between the date and time of the author\u2019s commit and the date and time of the deployment containing that commit.\u201d (Pluralsight<\/a>)<\/p>\n It can range from less than an hour (for high-performing teams) to more than 6 months (for low-performing teams).<\/p>\n Change failure percentage or change failure rate (CFR) is the percentage of deployments that lead to failures in production. A \u2018change failure\u2019 means any negative impact like crashes, low performance, or security vulnerabilities caused by a change or update. It can be calculated using the following formula:<\/p>\n CFR = (number of failed changes\/total number of changes)*100<\/p>\n A CFR lower than 15% is considered good while anywhere between 16 to 30% is considered high. A lower CFR indicates a reliable CI\/CD pipeline and effective testing.<\/p>\n Also known as failed deployment recovery time, MTTR is the time taken to recover from a partial service interruption or a total failure. It includes the time spent diagnosing and repairing the issue and redeploying the new code. It can be calculated using the following formula:<\/p>\n MTTR = (Total downtime\/Number of incidents)*100<\/p>\n It ranges from less than an hour (for high-performing teams) to 6 months (for low-performing teams).<\/p>\n The above metrics can be summarized using the table given below:<\/p>\n <\/p>\n\n
What are DORA Metrics?<\/h2>\n
\n
\n
Deployment frequency<\/h2>\n
How to improve deployment frequency?<\/h2>\n
\n
Change lead time<\/h2>\n
How to reduce change lead time?<\/h2>\n
\n
Change failure rate<\/h2>\n
How to reduce the change failure rate?<\/h2>\n
\n
Mean time to restore service (MTTR)<\/h2>\n
How to reduce MTTR?<\/h2>\n
\n