SlideShare a Scribd company logo
ACTIONABLE
CONTINUOUS DELIVERY
METRICS
Suzanne Prince, Head of Product, ThoughtWorks Products
Head of Product for ThoughtWorks
Products
13+ years experience with agile,
continuous integration and
continuous delivery practices
Tweeting @pm_suzie
over 20 years 4000 people
40 offices 14 countries
THIS TALK
•What is continuous delivery (CD)
•Explain why you should measure your continuous delivery process
•Share what continuous delivery metrics you should measure
•Review some scenarios to explain what certain metrics reveal about your
continuous delivery process
•Questions
CONTINUOUS DELIVERY
“Continuous Delivery is the ability to get changes of all types
—including new features, configuration changes, bug fixes
and experiments—into production, or into the hands of
users, safely and quickly in a sustainable way.”
- Jez Humble, continuousdelivery.com
BUILD & UNIT
TESTS
SMOKE TESTS
INTEGRATION
TESTS
REGRESSION
TEST
UAT PRODMATERIAL
BUILD & UNIT
TESTS
SMOKE TESTS
INTEGRATION
TESTS
REGRESSION
TEST
UAT PRODMATERIAL
BUILD & UNIT
TESTS
SMOKE TESTS
INTEGRATION
TESTS
REGRESSION
TEST
UAT PRODMATERIAL
BUILD & UNIT
TESTS
SMOKE TESTS
INTEGRATION
TESTS
REGRESSION
TEST
UAT PRODMATERIAL
BUILD & UNIT
TESTS
SMOKE TESTS
INTEGRATION
TESTS
REGRESSION
TEST
UAT PRODMATERIAL
BUILD & UNIT
TESTS
SMOKE TESTS
INTEGRATION
TESTS
REGRESSION
TEST
UAT PRODMATERIAL
BUILD & UNIT
TESTS
SMOKE TESTS
INTEGRATION
TESTS
REGRESSION
TEST
UAT PRODMATERIAL
BUILD & UNIT
TESTS
SMOKE TESTS
INTEGRATION
TESTS
REGRESSION
TEST
UAT PRODMATERIAL
BUILD & UNIT
TESTS
SMOKE TESTS
INTEGRATION
TESTS
REGRESSION
TEST
UAT PRODMATERIAL
WHY MEASURE
FEEDBACK AND IMPROVEMENT
PLAN
DOCHECK
ACT
PREDICTABILITY
0
6.5
13
19.5
26
Story 1 2 3 4 5 6 7 8 9 10
Cycle time (days) Trend
BENCHMARKING
Modified from Forsgren PhD, Nicole. Accelerate: The Science of Lean Software and DevOps: Building and Scaling High Performing Technology Organizations
High performers Median performers Low performers
Deployment frequency
On demand (multiple
deploys per day)
1/week - 1/month 1/week - 1/month
Lead time for changes <1hr 1 week - 1 month 1 week - 1 month
Change failure rate <15% <15% 31-45%
MTTR <1hr <1 day 1 day - 1 week
WHAT TO MEASURE
WHAT TO MEASURE
•Throughput
•Deployment frequency
•Cycle time
•Lead time
•Mean time between failures
•Mean time to recover (MTTR)
•Failure rate
•Defect fix times
•Escaped defects
•Total regression test time
•Number of branches in version
control
•Production outages during
deployment

WHAT TO MEASURE
•Throughput
•Deployment frequency
•Cycle time
•Lead time
•Mean time between failures
•Mean time to recover (MTTR)
•Failure rate
•Defect fix times
•Escaped defects
•Total regression test time
•Number of branches in version
control
•Production outages during
deployment

THROUGHPUT
How often does code reach a certain point in the
CD pipeline?
E.g. How often do you deploy?
DAYS
THROUGHPUT
THROUGHPUT: 25%
CYCLE TIME
How long does it take to go from one point to the
to another point in the CD pipeline?
E.g. How long does it take to go from code commit to
code successfully running in production?
CYCLE TIME
DAYS
THROUGHPUT: 25%
CYCLE TIME: 3 DAYS
FAILURE RATE
What percentage of changes results a failure?
E.g. What percentage of changes break builds? What
percentage of deployments result in a service outage?
THROUGHPUT: 25%
CYCLE TIME: 3 DAYS
FAILURE RATE: 75%
DAYS
FAILURE RATE
MEAN TIME TO RECOVER (MTTR)
How long does it generally take to fix a failure?
E.g. How long does it take to fix a broken build? How
long does it take to restore service during a
deployment failure?
MTTR
DAYS
MTTR
THROUGHPUT: 25%
CYCLE TIME: 3 DAYS
FAILURE RATE: 75%
MTTR: 2 DAYS
WHAT TO MEASURE
•Throughput
•Deployment frequency
•Cycle time
•Lead time
•Mean time between failures
•Mean time to recover (MTTR)
•Failure rate
•Defect fix times
•Escaped defects
•Total regression test time
•Number of branches in version
control
•Production outages during
deployment

CAUTION!
Beware of:
•vanity metrics
•unclear metrics
•invisible metrics
•comparing across teams
•the Hawthorne Effect or observer effect
•gathering “all the data” and not using it
VANITY METRICS
https://res.infoq.com/articles/Continuous-Delivery-Maturity-Model/en/resources/fig1large.jpg
ACT ON YOUR METRICS
LOW THROUGHPUT
LOW THROUGHPUT
Causes
•Slow builds
•Builds that fail often
•Long lived feature branches
How to resolve
•Review cycle time and failure rates
•Consider using feature toggles and short-lived branches
SLOW CYCLE TIME
SLOW CYCLE TIME
Causes:
•slow individual builds
•delays due to manual approvals
How to resolve:
•speed up slow steps by rewriting or parallelizing
•automate or simplify manual processes
HIGH FAILURE RATE
HIGH FAILURE RATE
Causes
•genuine failures
•flaky tests
•tests too slow or difficult to run locally before check-in
How to resolve
•fail fast
•make it easier to run tests locally
HIGH MTTR
HIGH MTTR
Causes
•no-one cares
•issues are hard to resolve
•combination with high failure rate and/or slow cycle time
How to resolve
•revert of failing commits
•stop the line
FEEDBACK CYCLES
PLAN
DOCHECK
ACT
RECAP
RECAP
•Metrics are important to set goals, improve and predict
•Start with throughput, cycle time, failure rate and MTTR
•Be thoughtful about what you measure
•Look for connections between metrics
•Understand your context
•Review, change and improve your process
•Consider using tools to help capture and visualize data

ADDITIONAL RESOURCES
•Download GoCD - https://www.gocd.org/
•GoCD Analytics plugin - https://www.gocd.org/analytics/
•More events and talks - https://www.gocd.org/events/
•4 important metrics for continuous delivery - https://www.gocd.org/
2018/01/31/continuous-delivery-metrics/
•Why measure your CD process https://www.gocd.org/2018/10/30/measure-
continuous-delivery-process/
QUESTIONS ?

More Related Content

What's hot

What_is_Rainforest_QA_-_InfoSheet
What_is_Rainforest_QA_-_InfoSheetWhat_is_Rainforest_QA_-_InfoSheet
What_is_Rainforest_QA_-_InfoSheetDaniel Acee
 
The Continuous delivery value - Funaro
The Continuous delivery value - FunaroThe Continuous delivery value - Funaro
The Continuous delivery value - Funaro
Codemotion
 
Continuous Testing: Preparing for DevOps
Continuous Testing: Preparing for DevOpsContinuous Testing: Preparing for DevOps
Continuous Testing: Preparing for DevOps
STePINForum
 
Agile Testing Introduction
Agile Testing IntroductionAgile Testing Introduction
Agile Testing Introduction
Hai Tran Son
 
Reducing Release Cycle Times with Scaled Agile
Reducing Release Cycle Times with Scaled AgileReducing Release Cycle Times with Scaled Agile
Reducing Release Cycle Times with Scaled Agile
ColinBird
 
Ralph Jocham, effective agile - Scaled Scrum at Swiss Postal Services | Agile...
Ralph Jocham, effective agile - Scaled Scrum at Swiss Postal Services | Agile...Ralph Jocham, effective agile - Scaled Scrum at Swiss Postal Services | Agile...
Ralph Jocham, effective agile - Scaled Scrum at Swiss Postal Services | Agile...
Agile Greece
 
Devops, the future is here, it's just not evenly distributed yet.
Devops, the future is here, it's just not evenly distributed yet.Devops, the future is here, it's just not evenly distributed yet.
Devops, the future is here, it's just not evenly distributed yet.
Kris Buytaert
 
Releasing To Production Every Week
Releasing To Production Every WeekReleasing To Production Every Week
Releasing To Production Every Week
exortech
 
Support and Initiate a DevOps Transformation
Support and Initiate a DevOps TransformationSupport and Initiate a DevOps Transformation
Support and Initiate a DevOps Transformation
dev2ops
 
Where Testers & QA Fit in the Story of DevOps
Where Testers & QA Fit in the Story of DevOpsWhere Testers & QA Fit in the Story of DevOps
Where Testers & QA Fit in the Story of DevOps
QASymphony
 
Performance monitoring - Adoniram Mishra, Rupesh Dubey, ThoughtWorks
Performance monitoring - Adoniram Mishra, Rupesh Dubey, ThoughtWorksPerformance monitoring - Adoniram Mishra, Rupesh Dubey, ThoughtWorks
Performance monitoring - Adoniram Mishra, Rupesh Dubey, ThoughtWorksThoughtworks
 
Team wide testing
Team wide testingTeam wide testing
Team wide testing
Ethan Huang
 
Measure and Accelerate Your Software Delivery
Measure and Accelerate Your Software DeliveryMeasure and Accelerate Your Software Delivery
Measure and Accelerate Your Software Delivery
Anand Chauhan
 
CE2015 - Bringing Agile to Deployments 16x9
CE2015 - Bringing Agile to Deployments 16x9CE2015 - Bringing Agile to Deployments 16x9
CE2015 - Bringing Agile to Deployments 16x9Christopher Gallo
 
Differences between Testing in Waterfall and Agile
Differences between Testing in Waterfall and AgileDifferences between Testing in Waterfall and Agile
Differences between Testing in Waterfall and Agile
Return on Intelligence
 
Avoiding Performance Problems: When and How to Debug Production
Avoiding Performance Problems: When and How to Debug ProductionAvoiding Performance Problems: When and How to Debug Production
Avoiding Performance Problems: When and How to Debug ProductionAppNeta
 
Simple ci cd with strider cd
Simple ci cd with strider cdSimple ci cd with strider cd
Simple ci cd with strider cd
Amandeep Singh
 
Devops, Secops, Opsec, DevSec *ops *.* ?
Devops, Secops, Opsec, DevSec *ops *.* ?Devops, Secops, Opsec, DevSec *ops *.* ?
Devops, Secops, Opsec, DevSec *ops *.* ?
Kris Buytaert
 
Software architecture in a DevOps world
Software architecture in a DevOps worldSoftware architecture in a DevOps world
Software architecture in a DevOps world
Bert Jan Schrijver
 
Improving Agility (Learning from Maersk Line's Journey) | Özlem Yüce | Agile ...
Improving Agility (Learning from Maersk Line's Journey) | Özlem Yüce | Agile ...Improving Agility (Learning from Maersk Line's Journey) | Özlem Yüce | Agile ...
Improving Agility (Learning from Maersk Line's Journey) | Özlem Yüce | Agile ...
Agile Greece
 

What's hot (20)

What_is_Rainforest_QA_-_InfoSheet
What_is_Rainforest_QA_-_InfoSheetWhat_is_Rainforest_QA_-_InfoSheet
What_is_Rainforest_QA_-_InfoSheet
 
The Continuous delivery value - Funaro
The Continuous delivery value - FunaroThe Continuous delivery value - Funaro
The Continuous delivery value - Funaro
 
Continuous Testing: Preparing for DevOps
Continuous Testing: Preparing for DevOpsContinuous Testing: Preparing for DevOps
Continuous Testing: Preparing for DevOps
 
Agile Testing Introduction
Agile Testing IntroductionAgile Testing Introduction
Agile Testing Introduction
 
Reducing Release Cycle Times with Scaled Agile
Reducing Release Cycle Times with Scaled AgileReducing Release Cycle Times with Scaled Agile
Reducing Release Cycle Times with Scaled Agile
 
Ralph Jocham, effective agile - Scaled Scrum at Swiss Postal Services | Agile...
Ralph Jocham, effective agile - Scaled Scrum at Swiss Postal Services | Agile...Ralph Jocham, effective agile - Scaled Scrum at Swiss Postal Services | Agile...
Ralph Jocham, effective agile - Scaled Scrum at Swiss Postal Services | Agile...
 
Devops, the future is here, it's just not evenly distributed yet.
Devops, the future is here, it's just not evenly distributed yet.Devops, the future is here, it's just not evenly distributed yet.
Devops, the future is here, it's just not evenly distributed yet.
 
Releasing To Production Every Week
Releasing To Production Every WeekReleasing To Production Every Week
Releasing To Production Every Week
 
Support and Initiate a DevOps Transformation
Support and Initiate a DevOps TransformationSupport and Initiate a DevOps Transformation
Support and Initiate a DevOps Transformation
 
Where Testers & QA Fit in the Story of DevOps
Where Testers & QA Fit in the Story of DevOpsWhere Testers & QA Fit in the Story of DevOps
Where Testers & QA Fit in the Story of DevOps
 
Performance monitoring - Adoniram Mishra, Rupesh Dubey, ThoughtWorks
Performance monitoring - Adoniram Mishra, Rupesh Dubey, ThoughtWorksPerformance monitoring - Adoniram Mishra, Rupesh Dubey, ThoughtWorks
Performance monitoring - Adoniram Mishra, Rupesh Dubey, ThoughtWorks
 
Team wide testing
Team wide testingTeam wide testing
Team wide testing
 
Measure and Accelerate Your Software Delivery
Measure and Accelerate Your Software DeliveryMeasure and Accelerate Your Software Delivery
Measure and Accelerate Your Software Delivery
 
CE2015 - Bringing Agile to Deployments 16x9
CE2015 - Bringing Agile to Deployments 16x9CE2015 - Bringing Agile to Deployments 16x9
CE2015 - Bringing Agile to Deployments 16x9
 
Differences between Testing in Waterfall and Agile
Differences between Testing in Waterfall and AgileDifferences between Testing in Waterfall and Agile
Differences between Testing in Waterfall and Agile
 
Avoiding Performance Problems: When and How to Debug Production
Avoiding Performance Problems: When and How to Debug ProductionAvoiding Performance Problems: When and How to Debug Production
Avoiding Performance Problems: When and How to Debug Production
 
Simple ci cd with strider cd
Simple ci cd with strider cdSimple ci cd with strider cd
Simple ci cd with strider cd
 
Devops, Secops, Opsec, DevSec *ops *.* ?
Devops, Secops, Opsec, DevSec *ops *.* ?Devops, Secops, Opsec, DevSec *ops *.* ?
Devops, Secops, Opsec, DevSec *ops *.* ?
 
Software architecture in a DevOps world
Software architecture in a DevOps worldSoftware architecture in a DevOps world
Software architecture in a DevOps world
 
Improving Agility (Learning from Maersk Line's Journey) | Özlem Yüce | Agile ...
Improving Agility (Learning from Maersk Line's Journey) | Özlem Yüce | Agile ...Improving Agility (Learning from Maersk Line's Journey) | Özlem Yüce | Agile ...
Improving Agility (Learning from Maersk Line's Journey) | Özlem Yüce | Agile ...
 

Similar to Actionable Continuous Delivery Metrics - QCon San Francisco November 2018

Definition of Done and Product Backlog refinement
Definition of Done and Product Backlog refinementDefinition of Done and Product Backlog refinement
Definition of Done and Product Backlog refinement
Christian Vos
 
Why your company loves to welcome change but sucks at accommodating it
Why your company loves to welcome change but sucks at accommodating itWhy your company loves to welcome change but sucks at accommodating it
Why your company loves to welcome change but sucks at accommodating it
Farooq Ali
 
Devops Mindset Essentials
Devops Mindset EssentialsDevops Mindset Essentials
Devops Mindset Essentials
Willy-Peter Schaub
 
Digital transformation through devops dod indianapolis
Digital transformation through devops dod indianapolisDigital transformation through devops dod indianapolis
Digital transformation through devops dod indianapolis
Peter Varhol
 
Road to Continuous Delivery - Wix.com
Road to Continuous Delivery - Wix.comRoad to Continuous Delivery - Wix.com
Road to Continuous Delivery - Wix.com
Aviran Mordo
 
Continuous Delivery Distilled
Continuous Delivery DistilledContinuous Delivery Distilled
Continuous Delivery Distilled
Matt Callanan
 
Test Driven Development & CI/CD
Test Driven Development & CI/CDTest Driven Development & CI/CD
Test Driven Development & CI/CD
Shanmuga S Muthu
 
DevOps 101
DevOps 101DevOps 101
DevOps 101
Liran Levy
 
Webinar: "5 semplici passi per migliorare la Quality e i processi di Test".
Webinar: "5 semplici passi per migliorare la Quality e i processi di Test".Webinar: "5 semplici passi per migliorare la Quality e i processi di Test".
Webinar: "5 semplici passi per migliorare la Quality e i processi di Test".
Emerasoft, solutions to collaborate
 
Agile Transformation: People, Process and Tools to Make Your Transformation S...
Agile Transformation: People, Process and Tools to Make Your Transformation S...Agile Transformation: People, Process and Tools to Make Your Transformation S...
Agile Transformation: People, Process and Tools to Make Your Transformation S...
QASymphony
 
Alexander Podelko - Context-Driven Performance Testing
Alexander Podelko - Context-Driven Performance TestingAlexander Podelko - Context-Driven Performance Testing
Alexander Podelko - Context-Driven Performance Testing
Neotys_Partner
 
Cloud and Network Transformation using DevOps methodology : Cisco Live 2015
Cloud and Network Transformation using DevOps methodology : Cisco Live 2015Cloud and Network Transformation using DevOps methodology : Cisco Live 2015
Cloud and Network Transformation using DevOps methodology : Cisco Live 2015
Vimal Suba
 
Engineering DevOps to meet Business Goals
 Engineering DevOps to meet Business Goals Engineering DevOps to meet Business Goals
Engineering DevOps to meet Business Goals
Marc Hornbeek
 
The Evolution of Continuous Delivery at Scale @ Linkedin
The Evolution of Continuous Delivery at Scale @ LinkedinThe Evolution of Continuous Delivery at Scale @ Linkedin
The Evolution of Continuous Delivery at Scale @ Linkedin
C4Media
 
Engineering DevOps Right the First Time
Engineering DevOps Right the First TimeEngineering DevOps Right the First Time
Engineering DevOps Right the First Time
Marc Hornbeek
 
CNUG TDD June 2014
CNUG TDD June 2014CNUG TDD June 2014
CNUG TDD June 2014
Mayank Srivastava
 
NYC MeetUp 10.9
NYC MeetUp 10.9NYC MeetUp 10.9
NYC MeetUp 10.9
Solano Labs
 
Small is Beautiful- Fully Automate your Test Case Design
Small is Beautiful- Fully Automate your Test Case DesignSmall is Beautiful- Fully Automate your Test Case Design
Small is Beautiful- Fully Automate your Test Case Design
Georgina Tilby
 
Project Sherpa: How RightScale Went All in on Docker
Project Sherpa: How RightScale Went All in on DockerProject Sherpa: How RightScale Went All in on Docker
Project Sherpa: How RightScale Went All in on Docker
RightScale
 

Similar to Actionable Continuous Delivery Metrics - QCon San Francisco November 2018 (20)

Definition of Done and Product Backlog refinement
Definition of Done and Product Backlog refinementDefinition of Done and Product Backlog refinement
Definition of Done and Product Backlog refinement
 
Why your company loves to welcome change but sucks at accommodating it
Why your company loves to welcome change but sucks at accommodating itWhy your company loves to welcome change but sucks at accommodating it
Why your company loves to welcome change but sucks at accommodating it
 
Devops Mindset Essentials
Devops Mindset EssentialsDevops Mindset Essentials
Devops Mindset Essentials
 
Digital transformation through devops dod indianapolis
Digital transformation through devops dod indianapolisDigital transformation through devops dod indianapolis
Digital transformation through devops dod indianapolis
 
Road to Continuous Delivery - Wix.com
Road to Continuous Delivery - Wix.comRoad to Continuous Delivery - Wix.com
Road to Continuous Delivery - Wix.com
 
Continuous Delivery Distilled
Continuous Delivery DistilledContinuous Delivery Distilled
Continuous Delivery Distilled
 
Test Driven Development & CI/CD
Test Driven Development & CI/CDTest Driven Development & CI/CD
Test Driven Development & CI/CD
 
DevOps 101
DevOps 101DevOps 101
DevOps 101
 
Webinar: "5 semplici passi per migliorare la Quality e i processi di Test".
Webinar: "5 semplici passi per migliorare la Quality e i processi di Test".Webinar: "5 semplici passi per migliorare la Quality e i processi di Test".
Webinar: "5 semplici passi per migliorare la Quality e i processi di Test".
 
Agile Transformation: People, Process and Tools to Make Your Transformation S...
Agile Transformation: People, Process and Tools to Make Your Transformation S...Agile Transformation: People, Process and Tools to Make Your Transformation S...
Agile Transformation: People, Process and Tools to Make Your Transformation S...
 
QA Best Practices in Agile World_new
QA Best Practices in Agile World_newQA Best Practices in Agile World_new
QA Best Practices in Agile World_new
 
Alexander Podelko - Context-Driven Performance Testing
Alexander Podelko - Context-Driven Performance TestingAlexander Podelko - Context-Driven Performance Testing
Alexander Podelko - Context-Driven Performance Testing
 
Cloud and Network Transformation using DevOps methodology : Cisco Live 2015
Cloud and Network Transformation using DevOps methodology : Cisco Live 2015Cloud and Network Transformation using DevOps methodology : Cisco Live 2015
Cloud and Network Transformation using DevOps methodology : Cisco Live 2015
 
Engineering DevOps to meet Business Goals
 Engineering DevOps to meet Business Goals Engineering DevOps to meet Business Goals
Engineering DevOps to meet Business Goals
 
The Evolution of Continuous Delivery at Scale @ Linkedin
The Evolution of Continuous Delivery at Scale @ LinkedinThe Evolution of Continuous Delivery at Scale @ Linkedin
The Evolution of Continuous Delivery at Scale @ Linkedin
 
Engineering DevOps Right the First Time
Engineering DevOps Right the First TimeEngineering DevOps Right the First Time
Engineering DevOps Right the First Time
 
CNUG TDD June 2014
CNUG TDD June 2014CNUG TDD June 2014
CNUG TDD June 2014
 
NYC MeetUp 10.9
NYC MeetUp 10.9NYC MeetUp 10.9
NYC MeetUp 10.9
 
Small is Beautiful- Fully Automate your Test Case Design
Small is Beautiful- Fully Automate your Test Case DesignSmall is Beautiful- Fully Automate your Test Case Design
Small is Beautiful- Fully Automate your Test Case Design
 
Project Sherpa: How RightScale Went All in on Docker
Project Sherpa: How RightScale Went All in on DockerProject Sherpa: How RightScale Went All in on Docker
Project Sherpa: How RightScale Went All in on Docker
 

More from Suzie Prince

Five ways continuous delivery can be a product managers superpower empower b...
Five ways continuous delivery can be a product managers superpower  empower b...Five ways continuous delivery can be a product managers superpower  empower b...
Five ways continuous delivery can be a product managers superpower empower b...
Suzie Prince
 
Continuous Delivery: A Product Management Superpower
Continuous Delivery: A Product Management Superpower Continuous Delivery: A Product Management Superpower
Continuous Delivery: A Product Management Superpower
Suzie Prince
 
DevOpsDays Zurich 2017 - Our Continuous Delivery Journey
DevOpsDays Zurich 2017 - Our Continuous Delivery JourneyDevOpsDays Zurich 2017 - Our Continuous Delivery Journey
DevOpsDays Zurich 2017 - Our Continuous Delivery Journey
Suzie Prince
 
DevOpsDays Seattle 2017 - Continuous Integration: A bittersweet story
DevOpsDays Seattle 2017 - Continuous Integration: A bittersweet storyDevOpsDays Seattle 2017 - Continuous Integration: A bittersweet story
DevOpsDays Seattle 2017 - Continuous Integration: A bittersweet story
Suzie Prince
 
DevOpsDays Baltimore March 2017 - Continuous Integration: A bittersweet love ...
DevOpsDays Baltimore March 2017 - Continuous Integration: A bittersweet love ...DevOpsDays Baltimore March 2017 - Continuous Integration: A bittersweet love ...
DevOpsDays Baltimore March 2017 - Continuous Integration: A bittersweet love ...
Suzie Prince
 
Tips for selling Continuous Delivery and DevOps to your business (from a busi...
Tips for selling Continuous Delivery and DevOps to your business (from a busi...Tips for selling Continuous Delivery and DevOps to your business (from a busi...
Tips for selling Continuous Delivery and DevOps to your business (from a busi...
Suzie Prince
 
Tips for selling Continuous Delivery to your business
Tips for selling Continuous Delivery to your businessTips for selling Continuous Delivery to your business
Tips for selling Continuous Delivery to your business
Suzie Prince
 
Success baby loves business plans and so should you
Success baby loves business plans and so should youSuccess baby loves business plans and so should you
Success baby loves business plans and so should you
Suzie Prince
 
Our continuous delivery journey
Our continuous delivery journeyOur continuous delivery journey
Our continuous delivery journey
Suzie Prince
 
Continuous Integration: A bittersweet love story
Continuous Integration: A bittersweet love story Continuous Integration: A bittersweet love story
Continuous Integration: A bittersweet love story
Suzie Prince
 
We thought we were doing continuous delivery and then...
We thought we were doing continuous delivery and then... We thought we were doing continuous delivery and then...
We thought we were doing continuous delivery and then...
Suzie Prince
 
Techniques to find new product ideas
Techniques to find new product ideasTechniques to find new product ideas
Techniques to find new product ideas
Suzie Prince
 
Being different a game from generating product ideas
Being different   a game from generating product ideasBeing different   a game from generating product ideas
Being different a game from generating product ideasSuzie Prince
 

More from Suzie Prince (13)

Five ways continuous delivery can be a product managers superpower empower b...
Five ways continuous delivery can be a product managers superpower  empower b...Five ways continuous delivery can be a product managers superpower  empower b...
Five ways continuous delivery can be a product managers superpower empower b...
 
Continuous Delivery: A Product Management Superpower
Continuous Delivery: A Product Management Superpower Continuous Delivery: A Product Management Superpower
Continuous Delivery: A Product Management Superpower
 
DevOpsDays Zurich 2017 - Our Continuous Delivery Journey
DevOpsDays Zurich 2017 - Our Continuous Delivery JourneyDevOpsDays Zurich 2017 - Our Continuous Delivery Journey
DevOpsDays Zurich 2017 - Our Continuous Delivery Journey
 
DevOpsDays Seattle 2017 - Continuous Integration: A bittersweet story
DevOpsDays Seattle 2017 - Continuous Integration: A bittersweet storyDevOpsDays Seattle 2017 - Continuous Integration: A bittersweet story
DevOpsDays Seattle 2017 - Continuous Integration: A bittersweet story
 
DevOpsDays Baltimore March 2017 - Continuous Integration: A bittersweet love ...
DevOpsDays Baltimore March 2017 - Continuous Integration: A bittersweet love ...DevOpsDays Baltimore March 2017 - Continuous Integration: A bittersweet love ...
DevOpsDays Baltimore March 2017 - Continuous Integration: A bittersweet love ...
 
Tips for selling Continuous Delivery and DevOps to your business (from a busi...
Tips for selling Continuous Delivery and DevOps to your business (from a busi...Tips for selling Continuous Delivery and DevOps to your business (from a busi...
Tips for selling Continuous Delivery and DevOps to your business (from a busi...
 
Tips for selling Continuous Delivery to your business
Tips for selling Continuous Delivery to your businessTips for selling Continuous Delivery to your business
Tips for selling Continuous Delivery to your business
 
Success baby loves business plans and so should you
Success baby loves business plans and so should youSuccess baby loves business plans and so should you
Success baby loves business plans and so should you
 
Our continuous delivery journey
Our continuous delivery journeyOur continuous delivery journey
Our continuous delivery journey
 
Continuous Integration: A bittersweet love story
Continuous Integration: A bittersweet love story Continuous Integration: A bittersweet love story
Continuous Integration: A bittersweet love story
 
We thought we were doing continuous delivery and then...
We thought we were doing continuous delivery and then... We thought we were doing continuous delivery and then...
We thought we were doing continuous delivery and then...
 
Techniques to find new product ideas
Techniques to find new product ideasTechniques to find new product ideas
Techniques to find new product ideas
 
Being different a game from generating product ideas
Being different   a game from generating product ideasBeing different   a game from generating product ideas
Being different a game from generating product ideas
 

Recently uploaded

FIDO Alliance Osaka Seminar: FIDO Security Aspects.pdf
FIDO Alliance Osaka Seminar: FIDO Security Aspects.pdfFIDO Alliance Osaka Seminar: FIDO Security Aspects.pdf
FIDO Alliance Osaka Seminar: FIDO Security Aspects.pdf
FIDO Alliance
 
The Future of Platform Engineering
The Future of Platform EngineeringThe Future of Platform Engineering
The Future of Platform Engineering
Jemma Hussein Allen
 
Search and Society: Reimagining Information Access for Radical Futures
Search and Society: Reimagining Information Access for Radical FuturesSearch and Society: Reimagining Information Access for Radical Futures
Search and Society: Reimagining Information Access for Radical Futures
Bhaskar Mitra
 
UiPath Test Automation using UiPath Test Suite series, part 3
UiPath Test Automation using UiPath Test Suite series, part 3UiPath Test Automation using UiPath Test Suite series, part 3
UiPath Test Automation using UiPath Test Suite series, part 3
DianaGray10
 
AI for Every Business: Unlocking Your Product's Universal Potential by VP of ...
AI for Every Business: Unlocking Your Product's Universal Potential by VP of ...AI for Every Business: Unlocking Your Product's Universal Potential by VP of ...
AI for Every Business: Unlocking Your Product's Universal Potential by VP of ...
Product School
 
How world-class product teams are winning in the AI era by CEO and Founder, P...
How world-class product teams are winning in the AI era by CEO and Founder, P...How world-class product teams are winning in the AI era by CEO and Founder, P...
How world-class product teams are winning in the AI era by CEO and Founder, P...
Product School
 
FIDO Alliance Osaka Seminar: Overview.pdf
FIDO Alliance Osaka Seminar: Overview.pdfFIDO Alliance Osaka Seminar: Overview.pdf
FIDO Alliance Osaka Seminar: Overview.pdf
FIDO Alliance
 
JMeter webinar - integration with InfluxDB and Grafana
JMeter webinar - integration with InfluxDB and GrafanaJMeter webinar - integration with InfluxDB and Grafana
JMeter webinar - integration with InfluxDB and Grafana
RTTS
 
UiPath Test Automation using UiPath Test Suite series, part 4
UiPath Test Automation using UiPath Test Suite series, part 4UiPath Test Automation using UiPath Test Suite series, part 4
UiPath Test Automation using UiPath Test Suite series, part 4
DianaGray10
 
ODC, Data Fabric and Architecture User Group
ODC, Data Fabric and Architecture User GroupODC, Data Fabric and Architecture User Group
ODC, Data Fabric and Architecture User Group
CatarinaPereira64715
 
From Siloed Products to Connected Ecosystem: Building a Sustainable and Scala...
From Siloed Products to Connected Ecosystem: Building a Sustainable and Scala...From Siloed Products to Connected Ecosystem: Building a Sustainable and Scala...
From Siloed Products to Connected Ecosystem: Building a Sustainable and Scala...
Product School
 
GraphRAG is All You need? LLM & Knowledge Graph
GraphRAG is All You need? LLM & Knowledge GraphGraphRAG is All You need? LLM & Knowledge Graph
GraphRAG is All You need? LLM & Knowledge Graph
Guy Korland
 
Epistemic Interaction - tuning interfaces to provide information for AI support
Epistemic Interaction - tuning interfaces to provide information for AI supportEpistemic Interaction - tuning interfaces to provide information for AI support
Epistemic Interaction - tuning interfaces to provide information for AI support
Alan Dix
 
Knowledge engineering: from people to machines and back
Knowledge engineering: from people to machines and backKnowledge engineering: from people to machines and back
Knowledge engineering: from people to machines and back
Elena Simperl
 
FIDO Alliance Osaka Seminar: Passkeys at Amazon.pdf
FIDO Alliance Osaka Seminar: Passkeys at Amazon.pdfFIDO Alliance Osaka Seminar: Passkeys at Amazon.pdf
FIDO Alliance Osaka Seminar: Passkeys at Amazon.pdf
FIDO Alliance
 
The Art of the Pitch: WordPress Relationships and Sales
The Art of the Pitch: WordPress Relationships and SalesThe Art of the Pitch: WordPress Relationships and Sales
The Art of the Pitch: WordPress Relationships and Sales
Laura Byrne
 
Software Delivery At the Speed of AI: Inflectra Invests In AI-Powered Quality
Software Delivery At the Speed of AI: Inflectra Invests In AI-Powered QualitySoftware Delivery At the Speed of AI: Inflectra Invests In AI-Powered Quality
Software Delivery At the Speed of AI: Inflectra Invests In AI-Powered Quality
Inflectra
 
Essentials of Automations: Optimizing FME Workflows with Parameters
Essentials of Automations: Optimizing FME Workflows with ParametersEssentials of Automations: Optimizing FME Workflows with Parameters
Essentials of Automations: Optimizing FME Workflows with Parameters
Safe Software
 
GenAISummit 2024 May 28 Sri Ambati Keynote: AGI Belongs to The Community in O...
GenAISummit 2024 May 28 Sri Ambati Keynote: AGI Belongs to The Community in O...GenAISummit 2024 May 28 Sri Ambati Keynote: AGI Belongs to The Community in O...
GenAISummit 2024 May 28 Sri Ambati Keynote: AGI Belongs to The Community in O...
Sri Ambati
 
FIDO Alliance Osaka Seminar: Passkeys and the Road Ahead.pdf
FIDO Alliance Osaka Seminar: Passkeys and the Road Ahead.pdfFIDO Alliance Osaka Seminar: Passkeys and the Road Ahead.pdf
FIDO Alliance Osaka Seminar: Passkeys and the Road Ahead.pdf
FIDO Alliance
 

Recently uploaded (20)

FIDO Alliance Osaka Seminar: FIDO Security Aspects.pdf
FIDO Alliance Osaka Seminar: FIDO Security Aspects.pdfFIDO Alliance Osaka Seminar: FIDO Security Aspects.pdf
FIDO Alliance Osaka Seminar: FIDO Security Aspects.pdf
 
The Future of Platform Engineering
The Future of Platform EngineeringThe Future of Platform Engineering
The Future of Platform Engineering
 
Search and Society: Reimagining Information Access for Radical Futures
Search and Society: Reimagining Information Access for Radical FuturesSearch and Society: Reimagining Information Access for Radical Futures
Search and Society: Reimagining Information Access for Radical Futures
 
UiPath Test Automation using UiPath Test Suite series, part 3
UiPath Test Automation using UiPath Test Suite series, part 3UiPath Test Automation using UiPath Test Suite series, part 3
UiPath Test Automation using UiPath Test Suite series, part 3
 
AI for Every Business: Unlocking Your Product's Universal Potential by VP of ...
AI for Every Business: Unlocking Your Product's Universal Potential by VP of ...AI for Every Business: Unlocking Your Product's Universal Potential by VP of ...
AI for Every Business: Unlocking Your Product's Universal Potential by VP of ...
 
How world-class product teams are winning in the AI era by CEO and Founder, P...
How world-class product teams are winning in the AI era by CEO and Founder, P...How world-class product teams are winning in the AI era by CEO and Founder, P...
How world-class product teams are winning in the AI era by CEO and Founder, P...
 
FIDO Alliance Osaka Seminar: Overview.pdf
FIDO Alliance Osaka Seminar: Overview.pdfFIDO Alliance Osaka Seminar: Overview.pdf
FIDO Alliance Osaka Seminar: Overview.pdf
 
JMeter webinar - integration with InfluxDB and Grafana
JMeter webinar - integration with InfluxDB and GrafanaJMeter webinar - integration with InfluxDB and Grafana
JMeter webinar - integration with InfluxDB and Grafana
 
UiPath Test Automation using UiPath Test Suite series, part 4
UiPath Test Automation using UiPath Test Suite series, part 4UiPath Test Automation using UiPath Test Suite series, part 4
UiPath Test Automation using UiPath Test Suite series, part 4
 
ODC, Data Fabric and Architecture User Group
ODC, Data Fabric and Architecture User GroupODC, Data Fabric and Architecture User Group
ODC, Data Fabric and Architecture User Group
 
From Siloed Products to Connected Ecosystem: Building a Sustainable and Scala...
From Siloed Products to Connected Ecosystem: Building a Sustainable and Scala...From Siloed Products to Connected Ecosystem: Building a Sustainable and Scala...
From Siloed Products to Connected Ecosystem: Building a Sustainable and Scala...
 
GraphRAG is All You need? LLM & Knowledge Graph
GraphRAG is All You need? LLM & Knowledge GraphGraphRAG is All You need? LLM & Knowledge Graph
GraphRAG is All You need? LLM & Knowledge Graph
 
Epistemic Interaction - tuning interfaces to provide information for AI support
Epistemic Interaction - tuning interfaces to provide information for AI supportEpistemic Interaction - tuning interfaces to provide information for AI support
Epistemic Interaction - tuning interfaces to provide information for AI support
 
Knowledge engineering: from people to machines and back
Knowledge engineering: from people to machines and backKnowledge engineering: from people to machines and back
Knowledge engineering: from people to machines and back
 
FIDO Alliance Osaka Seminar: Passkeys at Amazon.pdf
FIDO Alliance Osaka Seminar: Passkeys at Amazon.pdfFIDO Alliance Osaka Seminar: Passkeys at Amazon.pdf
FIDO Alliance Osaka Seminar: Passkeys at Amazon.pdf
 
The Art of the Pitch: WordPress Relationships and Sales
The Art of the Pitch: WordPress Relationships and SalesThe Art of the Pitch: WordPress Relationships and Sales
The Art of the Pitch: WordPress Relationships and Sales
 
Software Delivery At the Speed of AI: Inflectra Invests In AI-Powered Quality
Software Delivery At the Speed of AI: Inflectra Invests In AI-Powered QualitySoftware Delivery At the Speed of AI: Inflectra Invests In AI-Powered Quality
Software Delivery At the Speed of AI: Inflectra Invests In AI-Powered Quality
 
Essentials of Automations: Optimizing FME Workflows with Parameters
Essentials of Automations: Optimizing FME Workflows with ParametersEssentials of Automations: Optimizing FME Workflows with Parameters
Essentials of Automations: Optimizing FME Workflows with Parameters
 
GenAISummit 2024 May 28 Sri Ambati Keynote: AGI Belongs to The Community in O...
GenAISummit 2024 May 28 Sri Ambati Keynote: AGI Belongs to The Community in O...GenAISummit 2024 May 28 Sri Ambati Keynote: AGI Belongs to The Community in O...
GenAISummit 2024 May 28 Sri Ambati Keynote: AGI Belongs to The Community in O...
 
FIDO Alliance Osaka Seminar: Passkeys and the Road Ahead.pdf
FIDO Alliance Osaka Seminar: Passkeys and the Road Ahead.pdfFIDO Alliance Osaka Seminar: Passkeys and the Road Ahead.pdf
FIDO Alliance Osaka Seminar: Passkeys and the Road Ahead.pdf
 

Actionable Continuous Delivery Metrics - QCon San Francisco November 2018

  • 1. ACTIONABLE CONTINUOUS DELIVERY METRICS Suzanne Prince, Head of Product, ThoughtWorks Products
  • 2. Head of Product for ThoughtWorks Products 13+ years experience with agile, continuous integration and continuous delivery practices Tweeting @pm_suzie
  • 3. over 20 years 4000 people 40 offices 14 countries
  • 4. THIS TALK •What is continuous delivery (CD) •Explain why you should measure your continuous delivery process •Share what continuous delivery metrics you should measure •Review some scenarios to explain what certain metrics reveal about your continuous delivery process •Questions
  • 6. “Continuous Delivery is the ability to get changes of all types —including new features, configuration changes, bug fixes and experiments—into production, or into the hands of users, safely and quickly in a sustainable way.” - Jez Humble, continuousdelivery.com
  • 7. BUILD & UNIT TESTS SMOKE TESTS INTEGRATION TESTS REGRESSION TEST UAT PRODMATERIAL BUILD & UNIT TESTS SMOKE TESTS INTEGRATION TESTS REGRESSION TEST UAT PRODMATERIAL BUILD & UNIT TESTS SMOKE TESTS INTEGRATION TESTS REGRESSION TEST UAT PRODMATERIAL BUILD & UNIT TESTS SMOKE TESTS INTEGRATION TESTS REGRESSION TEST UAT PRODMATERIAL BUILD & UNIT TESTS SMOKE TESTS INTEGRATION TESTS REGRESSION TEST UAT PRODMATERIAL
  • 8. BUILD & UNIT TESTS SMOKE TESTS INTEGRATION TESTS REGRESSION TEST UAT PRODMATERIAL BUILD & UNIT TESTS SMOKE TESTS INTEGRATION TESTS REGRESSION TEST UAT PRODMATERIAL BUILD & UNIT TESTS SMOKE TESTS INTEGRATION TESTS REGRESSION TEST UAT PRODMATERIAL BUILD & UNIT TESTS SMOKE TESTS INTEGRATION TESTS REGRESSION TEST UAT PRODMATERIAL
  • 9.
  • 10.
  • 13. PREDICTABILITY 0 6.5 13 19.5 26 Story 1 2 3 4 5 6 7 8 9 10 Cycle time (days) Trend
  • 14. BENCHMARKING Modified from Forsgren PhD, Nicole. Accelerate: The Science of Lean Software and DevOps: Building and Scaling High Performing Technology Organizations High performers Median performers Low performers Deployment frequency On demand (multiple deploys per day) 1/week - 1/month 1/week - 1/month Lead time for changes <1hr 1 week - 1 month 1 week - 1 month Change failure rate <15% <15% 31-45% MTTR <1hr <1 day 1 day - 1 week
  • 16. WHAT TO MEASURE •Throughput •Deployment frequency •Cycle time •Lead time •Mean time between failures •Mean time to recover (MTTR) •Failure rate •Defect fix times •Escaped defects •Total regression test time •Number of branches in version control •Production outages during deployment

  • 17. WHAT TO MEASURE •Throughput •Deployment frequency •Cycle time •Lead time •Mean time between failures •Mean time to recover (MTTR) •Failure rate •Defect fix times •Escaped defects •Total regression test time •Number of branches in version control •Production outages during deployment

  • 18. THROUGHPUT How often does code reach a certain point in the CD pipeline? E.g. How often do you deploy?
  • 20. CYCLE TIME How long does it take to go from one point to the to another point in the CD pipeline? E.g. How long does it take to go from code commit to code successfully running in production?
  • 22. FAILURE RATE What percentage of changes results a failure? E.g. What percentage of changes break builds? What percentage of deployments result in a service outage?
  • 23. THROUGHPUT: 25% CYCLE TIME: 3 DAYS FAILURE RATE: 75% DAYS FAILURE RATE
  • 24. MEAN TIME TO RECOVER (MTTR) How long does it generally take to fix a failure? E.g. How long does it take to fix a broken build? How long does it take to restore service during a deployment failure?
  • 25. MTTR DAYS MTTR THROUGHPUT: 25% CYCLE TIME: 3 DAYS FAILURE RATE: 75% MTTR: 2 DAYS
  • 26. WHAT TO MEASURE •Throughput •Deployment frequency •Cycle time •Lead time •Mean time between failures •Mean time to recover (MTTR) •Failure rate •Defect fix times •Escaped defects •Total regression test time •Number of branches in version control •Production outages during deployment

  • 27. CAUTION! Beware of: •vanity metrics •unclear metrics •invisible metrics •comparing across teams •the Hawthorne Effect or observer effect •gathering “all the data” and not using it
  • 29. ACT ON YOUR METRICS
  • 30.
  • 32.
  • 33. LOW THROUGHPUT Causes •Slow builds •Builds that fail often •Long lived feature branches How to resolve •Review cycle time and failure rates •Consider using feature toggles and short-lived branches
  • 35.
  • 36. SLOW CYCLE TIME Causes: •slow individual builds •delays due to manual approvals How to resolve: •speed up slow steps by rewriting or parallelizing •automate or simplify manual processes
  • 38.
  • 39. HIGH FAILURE RATE Causes •genuine failures •flaky tests •tests too slow or difficult to run locally before check-in How to resolve •fail fast •make it easier to run tests locally
  • 41.
  • 42. HIGH MTTR Causes •no-one cares •issues are hard to resolve •combination with high failure rate and/or slow cycle time How to resolve •revert of failing commits •stop the line
  • 44. RECAP
  • 45. RECAP •Metrics are important to set goals, improve and predict •Start with throughput, cycle time, failure rate and MTTR •Be thoughtful about what you measure •Look for connections between metrics •Understand your context •Review, change and improve your process •Consider using tools to help capture and visualize data

  • 46. ADDITIONAL RESOURCES •Download GoCD - https://www.gocd.org/ •GoCD Analytics plugin - https://www.gocd.org/analytics/ •More events and talks - https://www.gocd.org/events/ •4 important metrics for continuous delivery - https://www.gocd.org/ 2018/01/31/continuous-delivery-metrics/ •Why measure your CD process https://www.gocd.org/2018/10/30/measure- continuous-delivery-process/