Tracing and Profiling App
Deployed on Kubernetes
Pradipta Banerjee (@pradipta_kr, github.com/bpradipt,
www.cloudgeekz.com )
Hemant Shaw (github.com/hkshaw1990)
IBM Systems and Development Labs
Agenda
• Sample Application
• DistributedTracers
• Advanced Concepts
Sample Application
Front
End
User
Service
Catalog
Service
Shipping
Service
User
DB
Catalog
DB
Shipping
DB
O
Order
Service
Cart
Service
Cart
DB
Payment
Service
What can go wrong ?
Sample Application
Front
End
User
Service
Catalog
Service
Shipping
Service
User
DB
Catalog
DB
Shipping
DB
O
Order
Service
Cart
Service
Cart
DB
Payment
Service
Slow DB query
Increased
Latency
Service Failed
Slow DB writes
How to identify the problem ?
DistributedTracers
• Visibility in the application layer
• Report Latencies
• Call Graph
• Platform instrumentation
• Tracers:
• Zipkin (Twitter)
• Jaeger (Uber)
• Appdash
• Lightstep
DistributedTracers
Demo
Sample app with platform tracing
https://www.youtube.com/watch?v=bCnQHZwX3UM
What if my application doesn’t have tracing
code?
One possible solution
• Leverage Kubernetes Sidecar pattern
• Examples
• Istio service mesh
• Perf Sidecar Injector
Perf Sidecar Injector
• Key Concepts
• Dynamically add sidecar with tracing logic to a Kubernetes POD
• Leverage POD PID Namespace Sharing
• Want to try ?
• https://github.com/bpradipt/perf-sidecar-injector
Demo
Using Linux ’Perf’ via Sidecar
https://asciinema.org/a/ROb7NNyibXXV1sRPg1ZG8jXjg
References
• Try out DistributedTracing: https://medium.com/opentracing/distributed-
tracing-in-10-minutes-51b378ee40f1
• OpenTracing docs: http://opentracing.io/documentation/
• Zipkin docs: http://zipkin.io/pages/architecture.html
• Platform metrics with OpenTracing: https://github.com/opentracing-
contrib/perfevents
• Opentracing with Platform Instrumentation:
http://cloudgeekz.com/1477/distributed-tracing-platform-
instrumentation.html
• Tracing and Profiling Microservices Application Deployed on IBM Cloud
Private: https://medium.com/ibm-cloud/tracing-and-profiling-
microservices-application-deployed-on-ibm-cloud-private-fe1f4c274329
Thanks!
Disclaimer: Logos and images used are registered trademarks and copyrights of their respective
companies and organizations.Views expressed are of the author’s and not necessarily of the employer’s.
DistributedTracers
Application
Application
code
+
ZipkinClient
push
collector
storage
API
UI
DB
Zipkin
Backend
What is missing here ?
DistributedTracers with PlatformVisibility
Application
Application using
OpenTracingAPI
push
collector
storage
API
UI
DB
Zipkin
Backend
Zipkin
Client
perfevents
perf interface
Kernel
Hardware (PMCs)

More Related Content

PDF
Netflix Recommendations Feature Engineering with Time Travel
PPTX
Data-driven development with GraphQL and Flow
PPTX
PPTX
DB Infrastructure Challenge - Team Geodan
PPTX
Paper6745 presentation tianjian
PDF
Summit Australia 2019 - Supercharge PowerPlatform with AI - Dipankar Bhattach...
PDF
REST vs GraphQL
PDF
GraphQL Search
Netflix Recommendations Feature Engineering with Time Travel
Data-driven development with GraphQL and Flow
DB Infrastructure Challenge - Team Geodan
Paper6745 presentation tianjian
Summit Australia 2019 - Supercharge PowerPlatform with AI - Dipankar Bhattach...
REST vs GraphQL
GraphQL Search

What's hot (6)

PPTX
Introduction to graphQL
PPTX
3 Steps Integrate Microsoft Graph with Azure Bot Services
PPTX
Eclipse Neon Democamp Budapest - VIATRA 1.3 release
PDF
SEO challenges of a
Single Page Application using Plone
PDF
Empower digital transformation in your organization with the power platform
PDF
Apache Lens: Unified OLAP on Realtime and Historic Data
Introduction to graphQL
3 Steps Integrate Microsoft Graph with Azure Bot Services
Eclipse Neon Democamp Budapest - VIATRA 1.3 release
SEO challenges of a
Single Page Application using Plone
Empower digital transformation in your organization with the power platform
Apache Lens: Unified OLAP on Realtime and Historic Data
Ad

Similar to Distributed tracing-meetup-9th jun2018 (20)

PDF
Microservices and Serverless for Mega Startups - DevOps IL Meetup
PPT
Power point updated
PDF
ICAR 2015 Workshop - Matt Vaughn
PDF
Developing Apps: Exposing Your Data Through Araport
PDF
Ben Kehoe - Serverless Architecture for the Internet of Things
PDF
Build and Host Real-world Machine Learning Services from Scratch @ pycontw2019
PPTX
Supercharging Self-Service API Integration with AI
PPT
webgis architecture and practices patterns
PDF
Azure Application insights - An Introduction
PPTX
Serverless with Azure Functions
PPTX
CMG2013 Workshop: Netflix Cloud Native, Capacity, Performance and Cost Optimi...
PPTX
Media streaming architecture Introduction
PPTX
Integrate Applications into IBM Connections Cloud and On Premises (AD 1632)
PDF
I Love APIs 2015: Building Predictive Apps with Lamda and MicroServices
PPT
Chat+twitter app with lift
PPTX
Cloud Foundry Roadmap (Cloud Foundry Summit 2014)
PDF
Introducing to serverless computing and AWS lambda - Israel Clouds Meetup
PPTX
From Zero to Serverless
PPTX
AppliFire Blue Print Design Guidelines
PDF
What's new in App Engine and intro to App Engine for Business
Microservices and Serverless for Mega Startups - DevOps IL Meetup
Power point updated
ICAR 2015 Workshop - Matt Vaughn
Developing Apps: Exposing Your Data Through Araport
Ben Kehoe - Serverless Architecture for the Internet of Things
Build and Host Real-world Machine Learning Services from Scratch @ pycontw2019
Supercharging Self-Service API Integration with AI
webgis architecture and practices patterns
Azure Application insights - An Introduction
Serverless with Azure Functions
CMG2013 Workshop: Netflix Cloud Native, Capacity, Performance and Cost Optimi...
Media streaming architecture Introduction
Integrate Applications into IBM Connections Cloud and On Premises (AD 1632)
I Love APIs 2015: Building Predictive Apps with Lamda and MicroServices
Chat+twitter app with lift
Cloud Foundry Roadmap (Cloud Foundry Summit 2014)
Introducing to serverless computing and AWS lambda - Israel Clouds Meetup
From Zero to Serverless
AppliFire Blue Print Design Guidelines
What's new in App Engine and intro to App Engine for Business
Ad

Recently uploaded (20)

PDF
OpenACC and Open Hackathons Monthly Highlights July 2025
PPTX
Custom Battery Pack Design Considerations for Performance and Safety
PDF
Developing a website for English-speaking practice to English as a foreign la...
PDF
Credit Without Borders: AI and Financial Inclusion in Bangladesh
PPTX
Modernising the Digital Integration Hub
PDF
TrustArc Webinar - Click, Consent, Trust: Winning the Privacy Game
PPT
What is a Computer? Input Devices /output devices
PPTX
Benefits of Physical activity for teenagers.pptx
PPTX
Final SEM Unit 1 for mit wpu at pune .pptx
PPTX
The various Industrial Revolutions .pptx
PDF
Hindi spoken digit analysis for native and non-native speakers
PDF
A contest of sentiment analysis: k-nearest neighbor versus neural network
PDF
Five Habits of High-Impact Board Members
PPTX
Chapter 5: Probability Theory and Statistics
PDF
sbt 2.0: go big (Scala Days 2025 edition)
PDF
Flame analysis and combustion estimation using large language and vision assi...
PDF
Produktkatalog für HOBO Datenlogger, Wetterstationen, Sensoren, Software und ...
PDF
Convolutional neural network based encoder-decoder for efficient real-time ob...
PDF
Enhancing emotion recognition model for a student engagement use case through...
PPTX
MicrosoftCybserSecurityReferenceArchitecture-April-2025.pptx
OpenACC and Open Hackathons Monthly Highlights July 2025
Custom Battery Pack Design Considerations for Performance and Safety
Developing a website for English-speaking practice to English as a foreign la...
Credit Without Borders: AI and Financial Inclusion in Bangladesh
Modernising the Digital Integration Hub
TrustArc Webinar - Click, Consent, Trust: Winning the Privacy Game
What is a Computer? Input Devices /output devices
Benefits of Physical activity for teenagers.pptx
Final SEM Unit 1 for mit wpu at pune .pptx
The various Industrial Revolutions .pptx
Hindi spoken digit analysis for native and non-native speakers
A contest of sentiment analysis: k-nearest neighbor versus neural network
Five Habits of High-Impact Board Members
Chapter 5: Probability Theory and Statistics
sbt 2.0: go big (Scala Days 2025 edition)
Flame analysis and combustion estimation using large language and vision assi...
Produktkatalog für HOBO Datenlogger, Wetterstationen, Sensoren, Software und ...
Convolutional neural network based encoder-decoder for efficient real-time ob...
Enhancing emotion recognition model for a student engagement use case through...
MicrosoftCybserSecurityReferenceArchitecture-April-2025.pptx

Distributed tracing-meetup-9th jun2018