SlideShare a Scribd company logo
Maria Gomez
@mariascandella
OBSERVABLE MICROSERVICES
2
Head of Technology
Thoughtworks Spain
©ThoughtWorks, Inc. 2018
©ThoughtWorks, Inc. 2018
©ThoughtWorks, Inc. 2018
PRINCIPLES OF MICROSERVICES
©ThoughtWorks, Inc. 2018
PRINCIPLES OF MICROSERVICES
• Modeled around business concepts
• Culture of automation
• Hide internal implementation details
• Decentralize all the things
• Deploy independently
• Isolate Failure
• Highly observable
©ThoughtWorks, Inc. 2018
©ThoughtWorks, Inc. 2018
WHAT IS OBSERVABILITY?
“Observability is the ability to interrogate your system and get accurate answers
that improve your understanding of it”
©ThoughtWorks, Inc. 2018
Logging Monitoring
Tracing Visualization
& Alerting
©ThoughtWorks, Inc. 2018
LOGGING
©ThoughtWorks, Inc. 2018
LOGS
©ThoughtWorks, Inc. 2018
LOGS
©ThoughtWorks, Inc. 2018
LOGS
©ThoughtWorks, Inc. 2018
Some suggestions
©ThoughtWorks, Inc. 2018
©ThoughtWorks, Inc. 2018
Collector
©ThoughtWorks, Inc. 2018
Collector
Data
Store
Transform Data Stream
©ThoughtWorks, Inc. 2018
Collector
Data
Store
Transform
Monitoring
Data Stream
©ThoughtWorks, Inc. 2018
Collector
Data
Store
Transform
Visualization
Monitoring
Data Stream
©ThoughtWorks, Inc. 2018
LOG AGGREGATION
©ThoughtWorks, Inc. 2018
LOG STRUCTURED DATA
{
CreationTime: “2017-02-24T17:49:15”,
Id: “9fe0650565-3dac-425a-c83e38499c”,
Host: “WEBSRVR06”,
ServiceId: “MyShoppingCartService”,
ComponentId: “DynamoDBWriter”,
Message: “Body size exceeded 400kb limit”
….
….
}
©ThoughtWorks, Inc. 2018
TRACK BUSINESS AND SYSTEM EVENTS
{
CreationTime: “2017-02-24T17:49:15”,
Id: “9fe0650565-3dac-425a-c83e38499c”,
Host: “WEBSRVR06”,
ServiceId: “MyShoppingCartService”,
Type: “BusinessEvent”,
Event: “ItemAddedToShoppingCart”,
ItemDetail: {…}
….
….
©ThoughtWorks, Inc. 2018
STANDARDIZE
•Standardize certain keys across services
•Bake logging into your service template
•Build a common log aggregation infrastructure
©ThoughtWorks, Inc. 2018
MONITOR
©ThoughtWorks, Inc. 2018
Have enough information to help you make decisions
©ThoughtWorks, Inc. 2018
Evolves with your system
©ThoughtWorks, Inc. 2018
EXAMPLE
©ThoughtWorks, Inc. 2018
EXAMPLE
Online marketplace
3M+ articles
10M+ users per month
©ThoughtWorks, Inc. 2018
EXAMPLE
Service
©ThoughtWorks, Inc. 2018
EXAMPLE
Data Stream A
Data Stream B
Service
©ThoughtWorks, Inc. 2018
EXAMPLE
Service
/health {
“app” : “ok”
}
©ThoughtWorks, Inc. 2018
EXAMPLE
Service
/health
{
“app” : “ok”,
“dataStreamA” : “ok”,
“dataStreamB” : ”ok”
}
Data Stream A
Data Stream B
©ThoughtWorks, Inc. 2018
EXAMPLE
Data Stream A
Data Stream B
Service
©ThoughtWorks, Inc. 2018
EXAMPLE
Data Stream A
Data Stream B
ServiceDB
©ThoughtWorks, Inc. 2018
EXAMPLE
Service
/health
{
“app” : “ok”,
“database” : “ok”,
“dataStreamA” : “ok”,
“dataStreamB” : ”ok”
}
DB
Data Stream A
Data Stream B
©ThoughtWorks, Inc. 2018
Business monitoring
©ThoughtWorks, Inc. 2018
SEMANTIC MONITORING
https://martinfowler.com/bliki/SyntheticMonitoring.html
©ThoughtWorks, Inc. 2018
It is accessible by everyone in the team
©ThoughtWorks, Inc. 2018
©ThoughtWorks, Inc. 2018
Monitoring overload
©ThoughtWorks, Inc. 2018
©ThoughtWorks, Inc. 2018
TOOLS
©ThoughtWorks, Inc. 2018
Push notifications: Alerts
©ThoughtWorks, Inc. 2018
ALERTS SHOULD BE ACTIONABLE
Title: ConnectionTimeOutException
Description: Connection to service A has timed out
More info: <link to visualization tool>
How to act: <link to run book>
©ThoughtWorks, Inc. 2018
SMART ALERTS
Service
/customers
©ThoughtWorks, Inc. 2018
SMART ALERTS
Service
/customers
Send an email to owner
for every 5xx error
©ThoughtWorks, Inc. 2018
SMART ALERTS
Service
/customers
Raise a high priority alarm
when >10 5xx errors
in 10 minutes
Send an email to owner
for every 5xx error
©ThoughtWorks, Inc. 2018
SMART ALERTS
©ThoughtWorks, Inc. 2018
SMART ALERTS
©ThoughtWorks, Inc. 2018
SMART ALERTS
©ThoughtWorks, Inc. 2018
TRACING
©ThoughtWorks, Inc. 2018
ABILITY TO FIND THE ORIGIN OF A REQUEST
Client 1 …. Client N
Third
party 1
Third
party N
Mainframe
1
Mainframe
N
….
Platform
Domain1 ….
Domain1
Domain1
Domain1
Domain1
Domain2
Domain1
Domain1
DomainN ….
©ThoughtWorks, Inc. 2018
ABILITY TO FIND THE ORIGIN OF A REQUEST
Client 1 …. Client N
Third
party 1
Third
party N
….
Mainframe
1
Mainframe
N
….
Platform
Domain1 ….
Domain1
Domain1
Domain1
Domain1
Domain2
Domain1
Domain1
DomainN
©ThoughtWorks, Inc. 2018
ABILITY TO FIND THE ORIGIN OF A REQUEST
Client 1 …. Client N
Third
party 1
Third
party N
….
Mainframe
1
Mainframe
N
….
Platform
Domain1 ….
Domain1
Domain1
Domain1
Domain1
Domain2
Domain1
Domain1
DomainN
TraceID
TraceID
TraceID
TraceID
TraceID
©ThoughtWorks, Inc. 2018
LOG AGGREGATOR
©ThoughtWorks, Inc. 2018
LOG AGGREGATOR
©ThoughtWorks, Inc. 2018
LOG AGGREGATOR
©ThoughtWorks, Inc. 2018
LOG AGGREGATOR
©ThoughtWorks, Inc. 2018
REQUEST GRAPH
©ThoughtWorks, Inc. 2018
DISTRIBUTING TRACING TOOLS
LightStep
Jaegar
©ThoughtWorks, Inc. 2018
©ThoughtWorks, Inc. 2018
Service
A
Service
B
Service
C
Service
D
Tracing system
STANDARDS
©ThoughtWorks, Inc. 2018
SERVICE MESH
©ThoughtWorks, Inc. 2018
Service
A
Service
B
Service
C
Service
D
Service
Mesh
Service
Mesh
Service
Mesh
Service
Mesh
Tracing system
SUMMARY
©ThoughtWorks, Inc. 2018
©ThoughtWorks, Inc. 2018
“Observability is the ability to interrogate your system and get accurate answers
that improve your understanding of it”
Logging Monitoring
Tracing Visualization
& Alerting
©ThoughtWorks, Inc. 2018
TAKE AWAYS
• Structure your data so it can be consumed by other tools
• Be intentional about things you log, monitor, and alert on
• Proactively iterate and eliminate noise
• Evaluate and use existing tools and libraries (OpenTracing, Honeycomb,
ioPipe, Datadog, Opsgenie, etc)
• Service templates to bootstrap microservices over shared libraries. Service
mesh if required.
©ThoughtWorks, Inc. 2018
Maria Gomez
@mariascandella
THANKS!

More Related Content

PPTX
CheckPoint Software
PDF
Observable microservices (O'Reilly SACon NY 2018)
PPTX
A Blueprint for Cloud-Native Financial Institutions
PPTX
From Monolith to Observable Microservices using DDD
PPTX
Bypassing Windows Security Functions(en)
PPTX
Why care about GDPR and avoid over $20 million fines, even outside EU ?
PPTX
Sam Herath - Six Critical Criteria for Cloud Workload Security
PDF
Webinar: Connecting & Sensing
CheckPoint Software
Observable microservices (O'Reilly SACon NY 2018)
A Blueprint for Cloud-Native Financial Institutions
From Monolith to Observable Microservices using DDD
Bypassing Windows Security Functions(en)
Why care about GDPR and avoid over $20 million fines, even outside EU ?
Sam Herath - Six Critical Criteria for Cloud Workload Security
Webinar: Connecting & Sensing

What's hot (20)

PDF
Check Point and Cisco: Securing the Private Cloud
PDF
SplunkLive! Utrecht 2018 - Customer presentation: Irdeto
PPTX
Partner Exec Summit 2018 - Frankfurt: AIOps
PDF
Check Point and Accenture Webinar
PPTX
OWASP Bay Area Meetup - DevSecOps the Kubernetes Way
PDF
Growing a microservices landscape (with smart use cases)
PPTX
SplunkLive! Utrecht 2018 - Customer presentation: Dutch Tax Office
PPTX
The Definitive CASB Business Case Kit - Presentation
PPTX
SplunkLive! Paris 2016 - Plenary session
PPTX
Partner Exec Summit 2018 - Frankfurt: Splunk for Industrial IoT
PPTX
Extreme DevOps in Fintech
PDF
SplunkLive! Zurich 2018: MARVES GmbH
PPTX
How a Leading Saudi Bank Matured Security to Better Partner the Business
PDF
Check Point vSEC for Microsoft Azure Webinar
PPTX
SplunkLive! Paris 2018: Event Management Is Dead
PPTX
Secure Data Sharing in OpenShift Environments
PPTX
Protecting Critical Infastrucutre: Zero Tolerance
PPTX
WannaCry: How to Protect Yourself
PPTX
SplunkLive! Stockholm 2018 - Customer presentation: Telia
PDF
CLOUD SECURITY ESSENTIALS 2.0 Full Stack Hacking & Recovery
Check Point and Cisco: Securing the Private Cloud
SplunkLive! Utrecht 2018 - Customer presentation: Irdeto
Partner Exec Summit 2018 - Frankfurt: AIOps
Check Point and Accenture Webinar
OWASP Bay Area Meetup - DevSecOps the Kubernetes Way
Growing a microservices landscape (with smart use cases)
SplunkLive! Utrecht 2018 - Customer presentation: Dutch Tax Office
The Definitive CASB Business Case Kit - Presentation
SplunkLive! Paris 2016 - Plenary session
Partner Exec Summit 2018 - Frankfurt: Splunk for Industrial IoT
Extreme DevOps in Fintech
SplunkLive! Zurich 2018: MARVES GmbH
How a Leading Saudi Bank Matured Security to Better Partner the Business
Check Point vSEC for Microsoft Azure Webinar
SplunkLive! Paris 2018: Event Management Is Dead
Secure Data Sharing in OpenShift Environments
Protecting Critical Infastrucutre: Zero Tolerance
WannaCry: How to Protect Yourself
SplunkLive! Stockholm 2018 - Customer presentation: Telia
CLOUD SECURITY ESSENTIALS 2.0 Full Stack Hacking & Recovery
Ad

Similar to Observable Microservices (O'Reilly SACon London 2018) (20)

PPTX
Observability in real time at scale
PDF
Cross-Platform Observability for Cloud Foundry
PPTX
Reduce Risk with End to End Monitoring of Middleware-based Applications
PPTX
final year.pptxjohhhbbbbbbkvujgcjiughihghji
PPTX
Observability in serverless solutions
PDF
Angelbeat -Cut Your Troubleshooting_Time-In-Half
PDF
10 Ways to Better Application-Centric Service Management
PDF
SRE Topics with Charity Majors and Liz Fong-Jones of Honeycomb
PDF
Glenn Lazarus- Why Your Observability Strategy Needs Security Observability
PDF
Observe 2020-d mc
PDF
Real-world Microservices: Lessons from the Front Line - Zhamak Delghani, Thou...
PPTX
Using Event Streams in Serverless Applications
PDF
Microservices. Mastering Chaos
PDF
How to build observability into Serverless (BuildStuff 2018)
PDF
The present and future of serverless observability (QCon London)
PDF
The present and future of Serverless observability
PDF
The present and future of Serverless observability
PPTX
Service Mesh CTO Forum (Draft 3)
PDF
Service Mesh Talk for CTO Forum
PDF
Patterns of evolution from monolith to microservices
Observability in real time at scale
Cross-Platform Observability for Cloud Foundry
Reduce Risk with End to End Monitoring of Middleware-based Applications
final year.pptxjohhhbbbbbbkvujgcjiughihghji
Observability in serverless solutions
Angelbeat -Cut Your Troubleshooting_Time-In-Half
10 Ways to Better Application-Centric Service Management
SRE Topics with Charity Majors and Liz Fong-Jones of Honeycomb
Glenn Lazarus- Why Your Observability Strategy Needs Security Observability
Observe 2020-d mc
Real-world Microservices: Lessons from the Front Line - Zhamak Delghani, Thou...
Using Event Streams in Serverless Applications
Microservices. Mastering Chaos
How to build observability into Serverless (BuildStuff 2018)
The present and future of serverless observability (QCon London)
The present and future of Serverless observability
The present and future of Serverless observability
Service Mesh CTO Forum (Draft 3)
Service Mesh Talk for CTO Forum
Patterns of evolution from monolith to microservices
Ad

More from Maria Gomez (18)

PDF
CQRS and Event Sourcing: A DevOps perspective
PDF
Splitting the monolith using Domain Driven Design
PPTX
Effective team onboarding
PDF
Security in agile teams
PDF
Security in agile teams
PDF
Observable Microservices
PDF
Splitting the Monolith
PDF
Taller de Refactorización (Campus Party Quito 2014)
PDF
Refactoring workshop (Campus Party Quito 2014)
PDF
Project Management - Report
PDF
Principles of New Media - Essay
PDF
Project Management - Risk management
PPTX
Responsive Environments - MoodMixer Presentation
PDF
Responsive Environments - Critical report
PDF
New Media Management - Gantt chart
PDF
New Media Management - Project plan
PPTX
New Media Management - Presentation
PDF
New Media Management - Report
CQRS and Event Sourcing: A DevOps perspective
Splitting the monolith using Domain Driven Design
Effective team onboarding
Security in agile teams
Security in agile teams
Observable Microservices
Splitting the Monolith
Taller de Refactorización (Campus Party Quito 2014)
Refactoring workshop (Campus Party Quito 2014)
Project Management - Report
Principles of New Media - Essay
Project Management - Risk management
Responsive Environments - MoodMixer Presentation
Responsive Environments - Critical report
New Media Management - Gantt chart
New Media Management - Project plan
New Media Management - Presentation
New Media Management - Report

Recently uploaded (20)

PPTX
Tartificialntelligence_presentation.pptx
PDF
NewMind AI Weekly Chronicles - August'25-Week II
PDF
A comparative study of natural language inference in Swahili using monolingua...
PDF
Machine learning based COVID-19 study performance prediction
PDF
A comparative analysis of optical character recognition models for extracting...
PDF
Mushroom cultivation and it's methods.pdf
PDF
Unlocking AI with Model Context Protocol (MCP)
PDF
gpt5_lecture_notes_comprehensive_20250812015547.pdf
PDF
TokAI - TikTok AI Agent : The First AI Application That Analyzes 10,000+ Vira...
PDF
Assigned Numbers - 2025 - Bluetooth® Document
PDF
7 ChatGPT Prompts to Help You Define Your Ideal Customer Profile.pdf
PPTX
KOM of Painting work and Equipment Insulation REV00 update 25-dec.pptx
PDF
Mobile App Security Testing_ A Comprehensive Guide.pdf
PPTX
Digital-Transformation-Roadmap-for-Companies.pptx
PDF
Architecting across the Boundaries of two Complex Domains - Healthcare & Tech...
PDF
Getting Started with Data Integration: FME Form 101
PPTX
OMC Textile Division Presentation 2021.pptx
PDF
Video forgery: An extensive analysis of inter-and intra-frame manipulation al...
PPTX
1. Introduction to Computer Programming.pptx
PPTX
TechTalks-8-2019-Service-Management-ITIL-Refresh-ITIL-4-Framework-Supports-Ou...
Tartificialntelligence_presentation.pptx
NewMind AI Weekly Chronicles - August'25-Week II
A comparative study of natural language inference in Swahili using monolingua...
Machine learning based COVID-19 study performance prediction
A comparative analysis of optical character recognition models for extracting...
Mushroom cultivation and it's methods.pdf
Unlocking AI with Model Context Protocol (MCP)
gpt5_lecture_notes_comprehensive_20250812015547.pdf
TokAI - TikTok AI Agent : The First AI Application That Analyzes 10,000+ Vira...
Assigned Numbers - 2025 - Bluetooth® Document
7 ChatGPT Prompts to Help You Define Your Ideal Customer Profile.pdf
KOM of Painting work and Equipment Insulation REV00 update 25-dec.pptx
Mobile App Security Testing_ A Comprehensive Guide.pdf
Digital-Transformation-Roadmap-for-Companies.pptx
Architecting across the Boundaries of two Complex Domains - Healthcare & Tech...
Getting Started with Data Integration: FME Form 101
OMC Textile Division Presentation 2021.pptx
Video forgery: An extensive analysis of inter-and intra-frame manipulation al...
1. Introduction to Computer Programming.pptx
TechTalks-8-2019-Service-Management-ITIL-Refresh-ITIL-4-Framework-Supports-Ou...

Observable Microservices (O'Reilly SACon London 2018)