SlideShare a Scribd company logo
1 of 35
Download to read offline
Shift monitoring left
About me
 Karol Szewczak
 @bvccaneer
 https://szekar1.wordpress.com/
 Test Architect @Lufthansa Systems Poland
 3rd A&A Days
 1st time conference speaker
October 15-16,
2018
Agile & Automation Days - Karol Szewczak - @bvccaneer
2
Agenda
 About me
 Setting the scene
 Monolith
 Microservices
 Monitoring
 Shift left
 Brace Yourself, Change is Coming
 Benefits
 Findings
 Q&A
October 15-16,
2018
Agile & Automation Days - Karol Szewczak - @bvccaneer
3
Why to monitor at all?
October 15-16,
2018
Agile & Automation Days - Karol Szewczak - @bvccaneer
4
Our monolith
 15+ years old
 35,000+ flights per day
October 15-16,
2018
Agile & Automation Days - Karol Szewczak - @bvccaneer
5
Working with monolith
15+
dev
test
ops
October 15-16,
2018
Agile & Automation Days - Karol Szewczak - @bvccaneer
6
Our monolith
October 15-16,
2018
Agile & Automation Days - Karol Szewczak - @bvccaneer
7
Microservices
October 15-16,
2018
Agile & Automation Days - Karol Szewczak - @bvccaneer
8
Production-Ready Microservices
“Something I discovered in a terrifying way,
is with microservices architecture, is that
the state of the system is never the same
from one second to another.
If you’re not aware of the state of the system,
you won’t know when the system fails,
and it will fail”
Susan J. Fowler
October 15-16,
2018
Agile & Automation Days - Karol Szewczak - @bvccaneer
9
And why it will fail?
October 15-16,
2018
Agile & Automation Days - Karol Szewczak - @bvccaneer
10
Monitoring
October 15-16,
2018
Agile & Automation Days - Karol Szewczak - @bvccaneer
11
But where is the shift?
October 15-16,
2018
Agile & Automation Days - Karol Szewczak - @bvccaneer
12
Environments “pipeline”
October 15-16,
2018
Agile & Automation Days - Karol Szewczak - @bvccaneer
13
Monitoring the monolith
October 15-16,
2018
Agile & Automation Days - Karol Szewczak - @bvccaneer
14
Monitoring shifted left
October 15-16,
2018
Agile & Automation Days - Karol Szewczak - @bvccaneer
15
Monitoring as part of test strategy
“Testing is great for known knowns
and ok for known unknowns”
– Leon Fayer
but
we still have unknown unknowns …
October 15-16,
2018
Agile & Automation Days - Karol Szewczak - @bvccaneer
16
Implementation
October 15-16,
2018
Agile & Automation Days - Karol Szewczak - @bvccaneer
17
Implementation
October 15-16,
2018
Agile & Automation Days - Karol Szewczak - @bvccaneer
18
pushgateway
prometheus
targets
prometheus
alertmanager
grafana
short-lived jobs
Implementation
October 15-16,
2018
Agile & Automation Days - Karol Szewczak - @bvccaneer
19
Implementation
October 15-16,
2018
Agile & Automation Days - Karol Szewczak - @bvccaneer
20
Implementation
October 15-16,
2018
Agile & Automation Days - Karol Szewczak - @bvccaneer
21
Benefits of early monitoring
 early indication about ‘new’ problems
October 15-16,
2018
Agile & Automation Days - Karol Szewczak - @bvccaneer
22
Benefits of early monitoring
 enhancing observability of the application
October 15-16,
2018
Agile & Automation Days - Karol Szewczak - @bvccaneer
23
“a failed check
is invitation
to explore”
Benefits of early monitoring
 enhancing observability of the application
October 15-16,
2018
Agile & Automation Days - Karol Szewczak - @bvccaneer
24
“a failed check
is invitation
to explore”
Alarm raised by monitoring
Benefits of early monitoring
 feedback about:
 usefulness of implemented metrics
 readability of prepared dashboards
October 15-16,
2018
Agile & Automation Days - Karol Szewczak - @bvccaneer
25
Benefits of early monitoring
October 15-16,
2018
Agile & Automation Days - Karol Szewczak - @bvccaneer
26
 feedback about:
 levels of logging and it’s details
Benefits of early monitoring
October 15-16,
2018
Agile & Automation Days - Karol Szewczak - @bvccaneer
27
 feedback about:
 test coverage on earlier stages
Benefits of early monitoring
October 15-16,
2018
Agile & Automation Days - Karol Szewczak - @bvccaneer
28
Real life examples
 data inconsistency between services
October 15-16,
2018
Agile & Automation Days - Karol Szewczak - @bvccaneer
29
Real life examples
 split brain scenarios
October 15-16,
2018
Agile & Automation Days - Karol Szewczak - @bvccaneer
30
Real life examples
 deployment correctness
October 15-16,
2018
Agile & Automation Days - Karol Szewczak - @bvccaneer
31
Real life examples
 program crashes, memleaks
October 15-16,
2018
Agile & Automation Days - Karol Szewczak - @bvccaneer
32
Real life examples
 security data leakage
 database connection management
 aftermath of:
 ‘no-space-left’
 host reboot
 infrastructure maintenance
October 15-16,
2018
Agile & Automation Days - Karol Szewczak - @bvccaneer
33
October 15-16,
2018
Agile & Automation Days - Karol Szewczak - @bvccaneer
34
Thank you!
October 15-16,
2018
Agile & Automation Days - Karol Szewczak - @bvccaneer
35

More Related Content

Recently uploaded

Engage Usergroup 2024 - The Good The Bad_The Ugly
Engage Usergroup 2024 - The Good The Bad_The UglyEngage Usergroup 2024 - The Good The Bad_The Ugly
Engage Usergroup 2024 - The Good The Bad_The UglyFrank van der Linden
 
Unlocking the Future of AI Agents with Large Language Models
Unlocking the Future of AI Agents with Large Language ModelsUnlocking the Future of AI Agents with Large Language Models
Unlocking the Future of AI Agents with Large Language Modelsaagamshah0812
 
Building Real-Time Data Pipelines: Stream & Batch Processing workshop Slide
Building Real-Time Data Pipelines: Stream & Batch Processing workshop SlideBuilding Real-Time Data Pipelines: Stream & Batch Processing workshop Slide
Building Real-Time Data Pipelines: Stream & Batch Processing workshop SlideChristina Lin
 
Steps To Getting Up And Running Quickly With MyTimeClock Employee Scheduling ...
Steps To Getting Up And Running Quickly With MyTimeClock Employee Scheduling ...Steps To Getting Up And Running Quickly With MyTimeClock Employee Scheduling ...
Steps To Getting Up And Running Quickly With MyTimeClock Employee Scheduling ...MyIntelliSource, Inc.
 
5 Signs You Need a Fashion PLM Software.pdf
5 Signs You Need a Fashion PLM Software.pdf5 Signs You Need a Fashion PLM Software.pdf
5 Signs You Need a Fashion PLM Software.pdfWave PLM
 
TECUNIQUE: Success Stories: IT Service provider
TECUNIQUE: Success Stories: IT Service providerTECUNIQUE: Success Stories: IT Service provider
TECUNIQUE: Success Stories: IT Service providermohitmore19
 
The Ultimate Test Automation Guide_ Best Practices and Tips.pdf
The Ultimate Test Automation Guide_ Best Practices and Tips.pdfThe Ultimate Test Automation Guide_ Best Practices and Tips.pdf
The Ultimate Test Automation Guide_ Best Practices and Tips.pdfkalichargn70th171
 
A Secure and Reliable Document Management System is Essential.docx
A Secure and Reliable Document Management System is Essential.docxA Secure and Reliable Document Management System is Essential.docx
A Secure and Reliable Document Management System is Essential.docxComplianceQuest1
 
Building a General PDE Solving Framework with Symbolic-Numeric Scientific Mac...
Building a General PDE Solving Framework with Symbolic-Numeric Scientific Mac...Building a General PDE Solving Framework with Symbolic-Numeric Scientific Mac...
Building a General PDE Solving Framework with Symbolic-Numeric Scientific Mac...stazi3110
 
EY_Graph Database Powered Sustainability
EY_Graph Database Powered SustainabilityEY_Graph Database Powered Sustainability
EY_Graph Database Powered SustainabilityNeo4j
 
BATTLEFIELD ORM: TIPS, TACTICS AND STRATEGIES FOR CONQUERING YOUR DATABASE
BATTLEFIELD ORM: TIPS, TACTICS AND STRATEGIES FOR CONQUERING YOUR DATABASEBATTLEFIELD ORM: TIPS, TACTICS AND STRATEGIES FOR CONQUERING YOUR DATABASE
BATTLEFIELD ORM: TIPS, TACTICS AND STRATEGIES FOR CONQUERING YOUR DATABASEOrtus Solutions, Corp
 
Salesforce Certified Field Service Consultant
Salesforce Certified Field Service ConsultantSalesforce Certified Field Service Consultant
Salesforce Certified Field Service ConsultantAxelRicardoTrocheRiq
 
why an Opensea Clone Script might be your perfect match.pdf
why an Opensea Clone Script might be your perfect match.pdfwhy an Opensea Clone Script might be your perfect match.pdf
why an Opensea Clone Script might be your perfect match.pdfjoe51371421
 
The Essentials of Digital Experience Monitoring_ A Comprehensive Guide.pdf
The Essentials of Digital Experience Monitoring_ A Comprehensive Guide.pdfThe Essentials of Digital Experience Monitoring_ A Comprehensive Guide.pdf
The Essentials of Digital Experience Monitoring_ A Comprehensive Guide.pdfkalichargn70th171
 
Adobe Marketo Engage Deep Dives: Using Webhooks to Transfer Data
Adobe Marketo Engage Deep Dives: Using Webhooks to Transfer DataAdobe Marketo Engage Deep Dives: Using Webhooks to Transfer Data
Adobe Marketo Engage Deep Dives: Using Webhooks to Transfer DataBradBedford3
 
chapter--4-software-project-planning.ppt
chapter--4-software-project-planning.pptchapter--4-software-project-planning.ppt
chapter--4-software-project-planning.pptkotipi9215
 
Short Story: Unveiling the Reasoning Abilities of Large Language Models by Ke...
Short Story: Unveiling the Reasoning Abilities of Large Language Models by Ke...Short Story: Unveiling the Reasoning Abilities of Large Language Models by Ke...
Short Story: Unveiling the Reasoning Abilities of Large Language Models by Ke...kellynguyen01
 
Cloud Management Software Platforms: OpenStack
Cloud Management Software Platforms: OpenStackCloud Management Software Platforms: OpenStack
Cloud Management Software Platforms: OpenStackVICTOR MAESTRE RAMIREZ
 
Asset Management Software - Infographic
Asset Management Software - InfographicAsset Management Software - Infographic
Asset Management Software - InfographicHr365.us smith
 

Recently uploaded (20)

Engage Usergroup 2024 - The Good The Bad_The Ugly
Engage Usergroup 2024 - The Good The Bad_The UglyEngage Usergroup 2024 - The Good The Bad_The Ugly
Engage Usergroup 2024 - The Good The Bad_The Ugly
 
Unlocking the Future of AI Agents with Large Language Models
Unlocking the Future of AI Agents with Large Language ModelsUnlocking the Future of AI Agents with Large Language Models
Unlocking the Future of AI Agents with Large Language Models
 
Building Real-Time Data Pipelines: Stream & Batch Processing workshop Slide
Building Real-Time Data Pipelines: Stream & Batch Processing workshop SlideBuilding Real-Time Data Pipelines: Stream & Batch Processing workshop Slide
Building Real-Time Data Pipelines: Stream & Batch Processing workshop Slide
 
Steps To Getting Up And Running Quickly With MyTimeClock Employee Scheduling ...
Steps To Getting Up And Running Quickly With MyTimeClock Employee Scheduling ...Steps To Getting Up And Running Quickly With MyTimeClock Employee Scheduling ...
Steps To Getting Up And Running Quickly With MyTimeClock Employee Scheduling ...
 
5 Signs You Need a Fashion PLM Software.pdf
5 Signs You Need a Fashion PLM Software.pdf5 Signs You Need a Fashion PLM Software.pdf
5 Signs You Need a Fashion PLM Software.pdf
 
TECUNIQUE: Success Stories: IT Service provider
TECUNIQUE: Success Stories: IT Service providerTECUNIQUE: Success Stories: IT Service provider
TECUNIQUE: Success Stories: IT Service provider
 
The Ultimate Test Automation Guide_ Best Practices and Tips.pdf
The Ultimate Test Automation Guide_ Best Practices and Tips.pdfThe Ultimate Test Automation Guide_ Best Practices and Tips.pdf
The Ultimate Test Automation Guide_ Best Practices and Tips.pdf
 
A Secure and Reliable Document Management System is Essential.docx
A Secure and Reliable Document Management System is Essential.docxA Secure and Reliable Document Management System is Essential.docx
A Secure and Reliable Document Management System is Essential.docx
 
Building a General PDE Solving Framework with Symbolic-Numeric Scientific Mac...
Building a General PDE Solving Framework with Symbolic-Numeric Scientific Mac...Building a General PDE Solving Framework with Symbolic-Numeric Scientific Mac...
Building a General PDE Solving Framework with Symbolic-Numeric Scientific Mac...
 
EY_Graph Database Powered Sustainability
EY_Graph Database Powered SustainabilityEY_Graph Database Powered Sustainability
EY_Graph Database Powered Sustainability
 
BATTLEFIELD ORM: TIPS, TACTICS AND STRATEGIES FOR CONQUERING YOUR DATABASE
BATTLEFIELD ORM: TIPS, TACTICS AND STRATEGIES FOR CONQUERING YOUR DATABASEBATTLEFIELD ORM: TIPS, TACTICS AND STRATEGIES FOR CONQUERING YOUR DATABASE
BATTLEFIELD ORM: TIPS, TACTICS AND STRATEGIES FOR CONQUERING YOUR DATABASE
 
Salesforce Certified Field Service Consultant
Salesforce Certified Field Service ConsultantSalesforce Certified Field Service Consultant
Salesforce Certified Field Service Consultant
 
why an Opensea Clone Script might be your perfect match.pdf
why an Opensea Clone Script might be your perfect match.pdfwhy an Opensea Clone Script might be your perfect match.pdf
why an Opensea Clone Script might be your perfect match.pdf
 
The Essentials of Digital Experience Monitoring_ A Comprehensive Guide.pdf
The Essentials of Digital Experience Monitoring_ A Comprehensive Guide.pdfThe Essentials of Digital Experience Monitoring_ A Comprehensive Guide.pdf
The Essentials of Digital Experience Monitoring_ A Comprehensive Guide.pdf
 
Adobe Marketo Engage Deep Dives: Using Webhooks to Transfer Data
Adobe Marketo Engage Deep Dives: Using Webhooks to Transfer DataAdobe Marketo Engage Deep Dives: Using Webhooks to Transfer Data
Adobe Marketo Engage Deep Dives: Using Webhooks to Transfer Data
 
chapter--4-software-project-planning.ppt
chapter--4-software-project-planning.pptchapter--4-software-project-planning.ppt
chapter--4-software-project-planning.ppt
 
Short Story: Unveiling the Reasoning Abilities of Large Language Models by Ke...
Short Story: Unveiling the Reasoning Abilities of Large Language Models by Ke...Short Story: Unveiling the Reasoning Abilities of Large Language Models by Ke...
Short Story: Unveiling the Reasoning Abilities of Large Language Models by Ke...
 
Cloud Management Software Platforms: OpenStack
Cloud Management Software Platforms: OpenStackCloud Management Software Platforms: OpenStack
Cloud Management Software Platforms: OpenStack
 
Call Girls In Mukherjee Nagar 📱 9999965857 🤩 Delhi 🫦 HOT AND SEXY VVIP 🍎 SE...
Call Girls In Mukherjee Nagar 📱  9999965857  🤩 Delhi 🫦 HOT AND SEXY VVIP 🍎 SE...Call Girls In Mukherjee Nagar 📱  9999965857  🤩 Delhi 🫦 HOT AND SEXY VVIP 🍎 SE...
Call Girls In Mukherjee Nagar 📱 9999965857 🤩 Delhi 🫦 HOT AND SEXY VVIP 🍎 SE...
 
Asset Management Software - Infographic
Asset Management Software - InfographicAsset Management Software - Infographic
Asset Management Software - Infographic
 

Featured

2024 State of Marketing Report – by Hubspot
2024 State of Marketing Report – by Hubspot2024 State of Marketing Report – by Hubspot
2024 State of Marketing Report – by HubspotMarius Sescu
 
Everything You Need To Know About ChatGPT
Everything You Need To Know About ChatGPTEverything You Need To Know About ChatGPT
Everything You Need To Know About ChatGPTExpeed Software
 
Product Design Trends in 2024 | Teenage Engineerings
Product Design Trends in 2024 | Teenage EngineeringsProduct Design Trends in 2024 | Teenage Engineerings
Product Design Trends in 2024 | Teenage EngineeringsPixeldarts
 
How Race, Age and Gender Shape Attitudes Towards Mental Health
How Race, Age and Gender Shape Attitudes Towards Mental HealthHow Race, Age and Gender Shape Attitudes Towards Mental Health
How Race, Age and Gender Shape Attitudes Towards Mental HealthThinkNow
 
AI Trends in Creative Operations 2024 by Artwork Flow.pdf
AI Trends in Creative Operations 2024 by Artwork Flow.pdfAI Trends in Creative Operations 2024 by Artwork Flow.pdf
AI Trends in Creative Operations 2024 by Artwork Flow.pdfmarketingartwork
 
PEPSICO Presentation to CAGNY Conference Feb 2024
PEPSICO Presentation to CAGNY Conference Feb 2024PEPSICO Presentation to CAGNY Conference Feb 2024
PEPSICO Presentation to CAGNY Conference Feb 2024Neil Kimberley
 
Content Methodology: A Best Practices Report (Webinar)
Content Methodology: A Best Practices Report (Webinar)Content Methodology: A Best Practices Report (Webinar)
Content Methodology: A Best Practices Report (Webinar)contently
 
How to Prepare For a Successful Job Search for 2024
How to Prepare For a Successful Job Search for 2024How to Prepare For a Successful Job Search for 2024
How to Prepare For a Successful Job Search for 2024Albert Qian
 
Social Media Marketing Trends 2024 // The Global Indie Insights
Social Media Marketing Trends 2024 // The Global Indie InsightsSocial Media Marketing Trends 2024 // The Global Indie Insights
Social Media Marketing Trends 2024 // The Global Indie InsightsKurio // The Social Media Age(ncy)
 
Trends In Paid Search: Navigating The Digital Landscape In 2024
Trends In Paid Search: Navigating The Digital Landscape In 2024Trends In Paid Search: Navigating The Digital Landscape In 2024
Trends In Paid Search: Navigating The Digital Landscape In 2024Search Engine Journal
 
5 Public speaking tips from TED - Visualized summary
5 Public speaking tips from TED - Visualized summary5 Public speaking tips from TED - Visualized summary
5 Public speaking tips from TED - Visualized summarySpeakerHub
 
ChatGPT and the Future of Work - Clark Boyd
ChatGPT and the Future of Work - Clark Boyd ChatGPT and the Future of Work - Clark Boyd
ChatGPT and the Future of Work - Clark Boyd Clark Boyd
 
Getting into the tech field. what next
Getting into the tech field. what next Getting into the tech field. what next
Getting into the tech field. what next Tessa Mero
 
Google's Just Not That Into You: Understanding Core Updates & Search Intent
Google's Just Not That Into You: Understanding Core Updates & Search IntentGoogle's Just Not That Into You: Understanding Core Updates & Search Intent
Google's Just Not That Into You: Understanding Core Updates & Search IntentLily Ray
 
Time Management & Productivity - Best Practices
Time Management & Productivity -  Best PracticesTime Management & Productivity -  Best Practices
Time Management & Productivity - Best PracticesVit Horky
 
The six step guide to practical project management
The six step guide to practical project managementThe six step guide to practical project management
The six step guide to practical project managementMindGenius
 
Beginners Guide to TikTok for Search - Rachel Pearson - We are Tilt __ Bright...
Beginners Guide to TikTok for Search - Rachel Pearson - We are Tilt __ Bright...Beginners Guide to TikTok for Search - Rachel Pearson - We are Tilt __ Bright...
Beginners Guide to TikTok for Search - Rachel Pearson - We are Tilt __ Bright...RachelPearson36
 

Featured (20)

2024 State of Marketing Report – by Hubspot
2024 State of Marketing Report – by Hubspot2024 State of Marketing Report – by Hubspot
2024 State of Marketing Report – by Hubspot
 
Everything You Need To Know About ChatGPT
Everything You Need To Know About ChatGPTEverything You Need To Know About ChatGPT
Everything You Need To Know About ChatGPT
 
Product Design Trends in 2024 | Teenage Engineerings
Product Design Trends in 2024 | Teenage EngineeringsProduct Design Trends in 2024 | Teenage Engineerings
Product Design Trends in 2024 | Teenage Engineerings
 
How Race, Age and Gender Shape Attitudes Towards Mental Health
How Race, Age and Gender Shape Attitudes Towards Mental HealthHow Race, Age and Gender Shape Attitudes Towards Mental Health
How Race, Age and Gender Shape Attitudes Towards Mental Health
 
AI Trends in Creative Operations 2024 by Artwork Flow.pdf
AI Trends in Creative Operations 2024 by Artwork Flow.pdfAI Trends in Creative Operations 2024 by Artwork Flow.pdf
AI Trends in Creative Operations 2024 by Artwork Flow.pdf
 
Skeleton Culture Code
Skeleton Culture CodeSkeleton Culture Code
Skeleton Culture Code
 
PEPSICO Presentation to CAGNY Conference Feb 2024
PEPSICO Presentation to CAGNY Conference Feb 2024PEPSICO Presentation to CAGNY Conference Feb 2024
PEPSICO Presentation to CAGNY Conference Feb 2024
 
Content Methodology: A Best Practices Report (Webinar)
Content Methodology: A Best Practices Report (Webinar)Content Methodology: A Best Practices Report (Webinar)
Content Methodology: A Best Practices Report (Webinar)
 
How to Prepare For a Successful Job Search for 2024
How to Prepare For a Successful Job Search for 2024How to Prepare For a Successful Job Search for 2024
How to Prepare For a Successful Job Search for 2024
 
Social Media Marketing Trends 2024 // The Global Indie Insights
Social Media Marketing Trends 2024 // The Global Indie InsightsSocial Media Marketing Trends 2024 // The Global Indie Insights
Social Media Marketing Trends 2024 // The Global Indie Insights
 
Trends In Paid Search: Navigating The Digital Landscape In 2024
Trends In Paid Search: Navigating The Digital Landscape In 2024Trends In Paid Search: Navigating The Digital Landscape In 2024
Trends In Paid Search: Navigating The Digital Landscape In 2024
 
5 Public speaking tips from TED - Visualized summary
5 Public speaking tips from TED - Visualized summary5 Public speaking tips from TED - Visualized summary
5 Public speaking tips from TED - Visualized summary
 
ChatGPT and the Future of Work - Clark Boyd
ChatGPT and the Future of Work - Clark Boyd ChatGPT and the Future of Work - Clark Boyd
ChatGPT and the Future of Work - Clark Boyd
 
Getting into the tech field. what next
Getting into the tech field. what next Getting into the tech field. what next
Getting into the tech field. what next
 
Google's Just Not That Into You: Understanding Core Updates & Search Intent
Google's Just Not That Into You: Understanding Core Updates & Search IntentGoogle's Just Not That Into You: Understanding Core Updates & Search Intent
Google's Just Not That Into You: Understanding Core Updates & Search Intent
 
How to have difficult conversations
How to have difficult conversations How to have difficult conversations
How to have difficult conversations
 
Introduction to Data Science
Introduction to Data ScienceIntroduction to Data Science
Introduction to Data Science
 
Time Management & Productivity - Best Practices
Time Management & Productivity -  Best PracticesTime Management & Productivity -  Best Practices
Time Management & Productivity - Best Practices
 
The six step guide to practical project management
The six step guide to practical project managementThe six step guide to practical project management
The six step guide to practical project management
 
Beginners Guide to TikTok for Search - Rachel Pearson - We are Tilt __ Bright...
Beginners Guide to TikTok for Search - Rachel Pearson - We are Tilt __ Bright...Beginners Guide to TikTok for Search - Rachel Pearson - We are Tilt __ Bright...
Beginners Guide to TikTok for Search - Rachel Pearson - We are Tilt __ Bright...
 

Shift Monitoring Left

  • 2. About me  Karol Szewczak  @bvccaneer  https://szekar1.wordpress.com/  Test Architect @Lufthansa Systems Poland  3rd A&A Days  1st time conference speaker October 15-16, 2018 Agile & Automation Days - Karol Szewczak - @bvccaneer 2
  • 3. Agenda  About me  Setting the scene  Monolith  Microservices  Monitoring  Shift left  Brace Yourself, Change is Coming  Benefits  Findings  Q&A October 15-16, 2018 Agile & Automation Days - Karol Szewczak - @bvccaneer 3
  • 4. Why to monitor at all? October 15-16, 2018 Agile & Automation Days - Karol Szewczak - @bvccaneer 4
  • 5. Our monolith  15+ years old  35,000+ flights per day October 15-16, 2018 Agile & Automation Days - Karol Szewczak - @bvccaneer 5
  • 6. Working with monolith 15+ dev test ops October 15-16, 2018 Agile & Automation Days - Karol Szewczak - @bvccaneer 6
  • 7. Our monolith October 15-16, 2018 Agile & Automation Days - Karol Szewczak - @bvccaneer 7
  • 8. Microservices October 15-16, 2018 Agile & Automation Days - Karol Szewczak - @bvccaneer 8
  • 9. Production-Ready Microservices “Something I discovered in a terrifying way, is with microservices architecture, is that the state of the system is never the same from one second to another. If you’re not aware of the state of the system, you won’t know when the system fails, and it will fail” Susan J. Fowler October 15-16, 2018 Agile & Automation Days - Karol Szewczak - @bvccaneer 9
  • 10. And why it will fail? October 15-16, 2018 Agile & Automation Days - Karol Szewczak - @bvccaneer 10
  • 11. Monitoring October 15-16, 2018 Agile & Automation Days - Karol Szewczak - @bvccaneer 11
  • 12. But where is the shift? October 15-16, 2018 Agile & Automation Days - Karol Szewczak - @bvccaneer 12
  • 13. Environments “pipeline” October 15-16, 2018 Agile & Automation Days - Karol Szewczak - @bvccaneer 13
  • 14. Monitoring the monolith October 15-16, 2018 Agile & Automation Days - Karol Szewczak - @bvccaneer 14
  • 15. Monitoring shifted left October 15-16, 2018 Agile & Automation Days - Karol Szewczak - @bvccaneer 15
  • 16. Monitoring as part of test strategy “Testing is great for known knowns and ok for known unknowns” – Leon Fayer but we still have unknown unknowns … October 15-16, 2018 Agile & Automation Days - Karol Szewczak - @bvccaneer 16
  • 17. Implementation October 15-16, 2018 Agile & Automation Days - Karol Szewczak - @bvccaneer 17
  • 18. Implementation October 15-16, 2018 Agile & Automation Days - Karol Szewczak - @bvccaneer 18 pushgateway prometheus targets prometheus alertmanager grafana short-lived jobs
  • 19. Implementation October 15-16, 2018 Agile & Automation Days - Karol Szewczak - @bvccaneer 19
  • 20. Implementation October 15-16, 2018 Agile & Automation Days - Karol Szewczak - @bvccaneer 20
  • 21. Implementation October 15-16, 2018 Agile & Automation Days - Karol Szewczak - @bvccaneer 21
  • 22. Benefits of early monitoring  early indication about ‘new’ problems October 15-16, 2018 Agile & Automation Days - Karol Szewczak - @bvccaneer 22
  • 23. Benefits of early monitoring  enhancing observability of the application October 15-16, 2018 Agile & Automation Days - Karol Szewczak - @bvccaneer 23 “a failed check is invitation to explore”
  • 24. Benefits of early monitoring  enhancing observability of the application October 15-16, 2018 Agile & Automation Days - Karol Szewczak - @bvccaneer 24 “a failed check is invitation to explore” Alarm raised by monitoring
  • 25. Benefits of early monitoring  feedback about:  usefulness of implemented metrics  readability of prepared dashboards October 15-16, 2018 Agile & Automation Days - Karol Szewczak - @bvccaneer 25
  • 26. Benefits of early monitoring October 15-16, 2018 Agile & Automation Days - Karol Szewczak - @bvccaneer 26  feedback about:  levels of logging and it’s details
  • 27. Benefits of early monitoring October 15-16, 2018 Agile & Automation Days - Karol Szewczak - @bvccaneer 27  feedback about:  test coverage on earlier stages
  • 28. Benefits of early monitoring October 15-16, 2018 Agile & Automation Days - Karol Szewczak - @bvccaneer 28
  • 29. Real life examples  data inconsistency between services October 15-16, 2018 Agile & Automation Days - Karol Szewczak - @bvccaneer 29
  • 30. Real life examples  split brain scenarios October 15-16, 2018 Agile & Automation Days - Karol Szewczak - @bvccaneer 30
  • 31. Real life examples  deployment correctness October 15-16, 2018 Agile & Automation Days - Karol Szewczak - @bvccaneer 31
  • 32. Real life examples  program crashes, memleaks October 15-16, 2018 Agile & Automation Days - Karol Szewczak - @bvccaneer 32
  • 33. Real life examples  security data leakage  database connection management  aftermath of:  ‘no-space-left’  host reboot  infrastructure maintenance October 15-16, 2018 Agile & Automation Days - Karol Szewczak - @bvccaneer 33
  • 34. October 15-16, 2018 Agile & Automation Days - Karol Szewczak - @bvccaneer 34
  • 35. Thank you! October 15-16, 2018 Agile & Automation Days - Karol Szewczak - @bvccaneer 35