Slide 1

Slide 1 text

Measuring DevOps Bukola Johnson DevOps Engineer at anynines GmbH Google WTM Ambassador PRACTITIONER

Slide 2

Slide 2 text

Key Metrics in Measuring DevOps Success PRACTITIONER

Slide 3

Slide 3 text

© 2021 All Rights Reserved. 3 Why Measure DevOps 4 key DevOps Metrics How do you compare? DevOps Metrics Dashboard Tools How to improve software delivery performance

Slide 4

Slide 4 text

© 2021 All Rights Reserved. 4 An organizational and cultural movement that aims to increase software delivery velocity, improve service reliability, and build shared ownership among software stakeholders. Source: cloud.google.com/devops What is DevOps ?

Slide 5

Slide 5 text

© 2021 All Rights Reserved. 5 “If you can’t measure it, you can’t improve it.” - Peter Drucker Why Measure DevOps?

Slide 6

Slide 6 text

© 2021 All Rights Reserved. 6 ● To get the effectiveness of DevOps practices. Why Measure DevOps? ● To measure software delivery throughout and stability to understand how teams can improve. ● Make data-based decisions rather than relying on gut instinct. ● To identify pain points and slowness in pipelines and processes.

Slide 7

Slide 7 text

© 2021 All Rights Reserved. 7 Four Key DevOps Metrics Deployment Frequency Lead Time For Changes Change Failure Rate Time to Restore Service

Slide 8

Slide 8 text

© 2021 All Rights Reserved. 8 How often does your organization deploy code to production or release it to end users? Deployment Frequency

Slide 9

Slide 9 text

© 2021 All Rights Reserved. 9 How long does it take to go from code committed to code successfully running in production Lead Time For Changes

Slide 10

Slide 10 text

© 2021 All Rights Reserved. 10 The percentage of deployments/changes that result in errors or poor application performance in production that require rolling an immediate fix Change Failure Rate

Slide 11

Slide 11 text

© 2021 All Rights Reserved. 11 When a failure occurs in production, how long does it take to restore service Time to Restore Service

Slide 12

Slide 12 text

© 2021 All Rights Reserved. 12 Benchmark : How do you compare? Deployment Frequency - Elite: On-demand (multiple deploys per day) - High: Once/day - Once/week - Medium: Once/week - Once/Month - Low: Once/month - Once/6 months Lead Time For Changes - Elite: Less than 1 day - High: 1 day - 1 week - Medium: 1 week - 1 month - Low: 1 month - 6 months Change Failure Rate - Elite, High and Medium : 0-15% - Low: 46-60% - Time To Restore Service - Elite: Less than 1 hour - High and Medium: : Less than 1 day - Low: 1 week - 1 month Source : State of DevOps 2019

Slide 13

Slide 13 text

DevOps Metrics Dashboard Tools

Slide 14

Slide 14 text

© 2021 All Rights Reserved. 14 ● Jenkins ● Concourse etc - Build/Deployment frequency: Number of jobs you run per day. CI/CD Tools

Slide 15

Slide 15 text

© 2021 All Rights Reserved. 15 ● Shows cycle time of product, version, or sprint. ● Maps time spent on issues over specified time - Lead Time for change: Can be derived by using the Control Chart https://www.atlassian.com/software JIRA - Control Chart

Slide 16

Slide 16 text

© 2021 All Rights Reserved. 16 JIRA - Control Chart Source: Atlassian

Slide 17

Slide 17 text

© 2021 All Rights Reserved. 17 ● Open source Project by Google ● Designed to collect data and convert it into a dashboard to display the four key metrics https://github.com/GoogleCloudPlatform/fourkeys Google Cloud Platform fourkeys

Slide 18

Slide 18 text

© 2021 All Rights Reserved. 18 Google Cloud Platform fourkeys Source: cloud.google.com

Slide 19

Slide 19 text

© 2021 All Rights Reserved. 19 ● Grafana is an open-source platform for monitoring and observability ● Highly Customisable Dashboard tool https://grafana.com/grafana/ Grafana Dashboard

Slide 20

Slide 20 text

© 2021 All Rights Reserved. 20 Grafana Dashboard Source: dzone

Slide 21

Slide 21 text

© 2021 All Rights Reserved. 21 ● Hygieia is a DevOps dashboard by CapitalOne ● Open-source ● Configurable view https://github.com/hygieia/hygieia Hygieia Dashboard

Slide 22

Slide 22 text

© 2021 All Rights Reserved. 22 Hygieia Dashboard Source: Capital One Hygieia

Slide 23

Slide 23 text

© 2021 All Rights Reserved. 23 ● A monitoring and security platform for cloud applications ● Monitor code deployments with Deployment Tracking in Datadog APM ● Customizable dashboards https://docs.datadoghq.com/tracing/deployment_tracking/ Datadog

Slide 24

Slide 24 text

© 2021 All Rights Reserved. 24 Datadog Source: Datadoghq.com

Slide 25

Slide 25 text

© 2021 All Rights Reserved. 25 ● Automate your deployment process - Continuous Integration / Continuous Delivery(deployment) - Version Control How to Improve Software Delivery Performance ● Leverage Cloud Services ● Change Approval Process ● Implement Test Automation ● Proactive Monitoring

Slide 26

Slide 26 text

© 2021 All Rights Reserved. 26 Metrics are how you know how well you are progressing towards your goals, The goal is to improve your performance not to improve your metrics !! source: www.sleuth.io

Slide 27

Slide 27 text

Bukola Johnson DevOps Engineer bukecious bukola-johnson Thank you!