SlideShare a Scribd company logo
Peering inside the black box
Gergely Tóth
Java Platform Engineering
SPRING ONE, SEPTEMBER 2021 PUBLIC
What is my service up to?
Environment
How much memory is
available?
Are we going to run out of file
descriptors?
Interactions
How many incoming/outgoing
calls does it make?
What is the latency in
responding to requests?
Resource Usage
How much CPU are we
using?
How much heap are we
using?
Version
What version of the
application code is running?
What JDK is being used?
SPRING ONE, SEPTEMBER 2021 PUBLIC
Three Pillars of Observability
Tracing
Series of related distributed
events
Events generated in different
parts of the system for a
given user interaction
Metrics
Numeric representation of
measured data
Maximum response time for a
given endpoint
Number of calls to an
endpoint per seconds
Logs
Timestamped record of
events
Application startup and
graceful shutdown
Internal error detailed
information
SPRING ONE, SEPTEMBER 2021 PUBLIC
Cornucopia of options … OpenTelemetry
Standard solution
Provides a common single
API for observability
Supports the mayor
programing languages
Easy to use
Automatic instrumentation
using the agent
Easy to get started with any
application
Collector
Central place to receive,
process and export traces
and metrics (and logs)
W3C
Standard of context
propagation
Replaces homegrown formats
https://opentelemetry.io/img/logos/opentelemetry-stacked-color.png
SPRING ONE, SEPTEMBER 2021 PUBLIC
@NewSpan
public void getAnnotationForTagValueResolver(
@SpanTag(key = "test", resolver = TagValueResolver.class) String test) {
}
Spring Cloud Sleuth for tracing
Part of Spring ecosystem
Quick start: Spring initializr
Integrates with other
components
OpenTelemetry bridge
OpenTelemetry via Sleuth
Currently in incubation
https://spring.io/images/projects/spring-edf462fec682b9d48cf628eaf9e19521.svg
SPRING ONE, SEPTEMBER 2021 PUBLIC
Pet Clinic
https://github.com/spring-projects/spring-petclinic
SPRING ONE, SEPTEMBER 2021 PUBLIC
How to: Pet Clinic
Spring
Cloud
Gateway
Pet Clinic
Pet Clinic
SPRING ONE, SEPTEMBER 2021 PUBLIC
How to: Pet Clinic
Spring
Cloud
Gateway
Pet Clinic
Pet Clinic
OTEL
Collector
SPRING ONE, SEPTEMBER 2021 PUBLIC
How to: Pet Clinic
Spring
Cloud
Gateway
Pet Clinic
Pet Clinic
OTEL
Collector
Jaeger
SPRING ONE, SEPTEMBER 2021 PUBLIC
How to: Pet Clinic
Spring
Cloud
Gateway
Pet Clinic
Pet Clinic
OTEL
Collector
Jaeger
Zipkin
SPRING ONE, SEPTEMBER 2021 PUBLIC
How to: Pet Clinic
Spring
Cloud
Gateway
Pet Clinic
Pet Clinic
OTEL
Collector
Jaeger
Zipkin
Prometheus
SPRING ONE, SEPTEMBER 2021 PUBLIC
How to: Pet Clinic
Spring
Cloud
Gateway
Pet Clinic
Pet Clinic
OTEL
Collector
Jaeger
Zipkin
Prometheus
Grafana
SPRING ONE, SEPTEMBER 2021 PUBLIC
Demo
SPRING ONE, SEPTEMBER 2021 PUBLIC
▪ Getting live information about services is crucial
▪ There is a cornucopia of vendors/libs/frameworks that
provide observability
▪ These require specific dependency/agent for the services
▪ OpenTelemetry standardizes and gives a vendor
agnostic solution
▪ Spring already has a standard solution for traces: Sleuth
▪ Using the bridge between Sleuth and OpenTelemetry
provides an easy solution to benefit from both without
changing the already existing code
The story
SPRING ONE, SEPTEMBER 2021 PUBLIC
▪ Finalized Sleuth OpenTelemetry Bridge
▪ OpenTelemetry metrics SDK finalised
▪ OpenTelemetry for logs
▪ Integration of OpenTelemetry metrics export for
Spring
▪ Integration for OpenTelemetry logs export for Spring
What’s next?

More Related Content

PPTX
Micronaut: A new way to build microservices
Luram Archanjo
 
PDF
Spring Native and Spring AOT
VMware Tanzu
 
PDF
Running Spring Boot Applications as GraalVM Native Images
VMware Tanzu
 
PDF
JPQL/ JPA Activity 1
SFI
 
PDF
Going Serverless Using the Spring Framework Ecosystem
VMware Tanzu
 
PDF
Demystify LDAP and OIDC Providing Security to Your App on Kubernetes
VMware Tanzu
 
PDF
Ingress? That’s So 2020! Introducing the Kubernetes Gateway API
VMware Tanzu
 
PDF
Prod-Like Integration Testing for Distributed Containerized Applications
VMware Tanzu
 
Micronaut: A new way to build microservices
Luram Archanjo
 
Spring Native and Spring AOT
VMware Tanzu
 
Running Spring Boot Applications as GraalVM Native Images
VMware Tanzu
 
JPQL/ JPA Activity 1
SFI
 
Going Serverless Using the Spring Framework Ecosystem
VMware Tanzu
 
Demystify LDAP and OIDC Providing Security to Your App on Kubernetes
VMware Tanzu
 
Ingress? That’s So 2020! Introducing the Kubernetes Gateway API
VMware Tanzu
 
Prod-Like Integration Testing for Distributed Containerized Applications
VMware Tanzu
 

What's hot (20)

PDF
Spring Data JDBC: Beyond the Obvious
VMware Tanzu
 
PDF
Full Steam Ahead, R2DBC!
VMware Tanzu
 
PDF
You Want to Kubernetes? You MUST Know Containers!
VMware Tanzu
 
PDF
Spring Boot Loves K8s
VMware Tanzu
 
PDF
Introducing Spring Framework 5.3
VMware Tanzu
 
PDF
Spring Cloud Function: Where We Were, Where We Are, and Where We’re Going
VMware Tanzu
 
PDF
Spring Boot on Amazon Web Services with Spring Cloud AWS
VMware Tanzu
 
PDF
Automated Virtualized Testing (AVT) with Docker, Kubernetes, WireMock and Gat...
VMware Tanzu
 
PDF
What’s New in Spring Data MongoDB
VMware Tanzu
 
PDF
Game of Streams: How to Tame and Get the Most from Your Messaging Platforms
VMware Tanzu
 
PPTX
State of Steeltoe 2020
VMware Tanzu
 
PPTX
Improving Your Company’s Health with Middleware Takeout
VMware Tanzu
 
PDF
Walking Through Spring Cloud Data Flow
VMware Tanzu
 
PDF
Effective Spring on Kubernetes
Neven Cvetković
 
PDF
Connecting Spring Apps to Distributed SQL Clusters Running in Kubernetes
VMware Tanzu
 
PDF
How To Be a Java Automated Testing Superstar
VMware Tanzu
 
PDF
Enabling Cloud Native Buildpacks for Windows Containers
VMware Tanzu
 
PDF
Welcome to the Metrics
VMware Tanzu
 
PDF
Security Patterns for Microservice Architectures - SpringOne 2020
Matt Raible
 
PPTX
If Hemingway Wrote JavaDocs
VMware Tanzu
 
Spring Data JDBC: Beyond the Obvious
VMware Tanzu
 
Full Steam Ahead, R2DBC!
VMware Tanzu
 
You Want to Kubernetes? You MUST Know Containers!
VMware Tanzu
 
Spring Boot Loves K8s
VMware Tanzu
 
Introducing Spring Framework 5.3
VMware Tanzu
 
Spring Cloud Function: Where We Were, Where We Are, and Where We’re Going
VMware Tanzu
 
Spring Boot on Amazon Web Services with Spring Cloud AWS
VMware Tanzu
 
Automated Virtualized Testing (AVT) with Docker, Kubernetes, WireMock and Gat...
VMware Tanzu
 
What’s New in Spring Data MongoDB
VMware Tanzu
 
Game of Streams: How to Tame and Get the Most from Your Messaging Platforms
VMware Tanzu
 
State of Steeltoe 2020
VMware Tanzu
 
Improving Your Company’s Health with Middleware Takeout
VMware Tanzu
 
Walking Through Spring Cloud Data Flow
VMware Tanzu
 
Effective Spring on Kubernetes
Neven Cvetković
 
Connecting Spring Apps to Distributed SQL Clusters Running in Kubernetes
VMware Tanzu
 
How To Be a Java Automated Testing Superstar
VMware Tanzu
 
Enabling Cloud Native Buildpacks for Windows Containers
VMware Tanzu
 
Welcome to the Metrics
VMware Tanzu
 
Security Patterns for Microservice Architectures - SpringOne 2020
Matt Raible
 
If Hemingway Wrote JavaDocs
VMware Tanzu
 
Ad

Similar to Peering Inside the Black Box: A Case for Observability (20)

PDF
Christopher Judd: Monitor All Your Stuff with OpenTelemetry and AWS
AWS Chicago
 
PDF
What Is OpenTelemetry? A Complete Introduction
Ciente
 
PDF
Opentelemetry - From frontend to backend
Sebastian Poxhofer
 
PDF
stackconf 2023 | Practical introduction to OpenTelemetry tracing by Nicolas F...
NETWAYS
 
PDF
OpenTelemetry: From front- to backend (2022)
Sebastian Poxhofer
 
PPTX
OpenTelemetry: The future (present) of Observability
Gustavo Corrêa Alves
 
PPTX
Tracing-for-fun-and-profit.pptx
Hai Nguyen Duy
 
PDF
OpenTelemetry 101 Cloud Native Barcelona
Imma Valls Bernaus
 
PPTX
OpenTelemetry 101 FTW
NGINX, Inc.
 
PDF
Observability: Beyond the Three Pillars with Spring
VMware Tanzu
 
PPTX
OpenTelemetry For Architects
Kevin Brockhoff
 
PDF
Observability in Java: Getting Started with OpenTelemetry
DevOps.com
 
PDF
Observability with Spring-based distributed systems
Tommy Ludwig
 
PPTX
OpenTelemetry For Developers
Kevin Brockhoff
 
PPTX
Adopting OpenTelemetry
Vincent Behar
 
PPTX
THE STATE OF OPENTELEMETRY, DOTAN HOROVITS, Logz.io
DevOpsDays Tel Aviv
 
PDF
OTel Me All About OpenTelemetry The Current & Future State, Navigating the Pr...
LibbySchulze
 
PPTX
ThroughTheLookingGlass_EffectiveObservability.pptx
Grace Jansen
 
PDF
Jacob Marble [InfluxData] | Observability with InfluxDB IOx and OpenTelemetry...
InfluxData
 
PDF
OSMC 2023 | OpenTelemetry for Logging by Philipp Krenn
NETWAYS
 
Christopher Judd: Monitor All Your Stuff with OpenTelemetry and AWS
AWS Chicago
 
What Is OpenTelemetry? A Complete Introduction
Ciente
 
Opentelemetry - From frontend to backend
Sebastian Poxhofer
 
stackconf 2023 | Practical introduction to OpenTelemetry tracing by Nicolas F...
NETWAYS
 
OpenTelemetry: From front- to backend (2022)
Sebastian Poxhofer
 
OpenTelemetry: The future (present) of Observability
Gustavo Corrêa Alves
 
Tracing-for-fun-and-profit.pptx
Hai Nguyen Duy
 
OpenTelemetry 101 Cloud Native Barcelona
Imma Valls Bernaus
 
OpenTelemetry 101 FTW
NGINX, Inc.
 
Observability: Beyond the Three Pillars with Spring
VMware Tanzu
 
OpenTelemetry For Architects
Kevin Brockhoff
 
Observability in Java: Getting Started with OpenTelemetry
DevOps.com
 
Observability with Spring-based distributed systems
Tommy Ludwig
 
OpenTelemetry For Developers
Kevin Brockhoff
 
Adopting OpenTelemetry
Vincent Behar
 
THE STATE OF OPENTELEMETRY, DOTAN HOROVITS, Logz.io
DevOpsDays Tel Aviv
 
OTel Me All About OpenTelemetry The Current & Future State, Navigating the Pr...
LibbySchulze
 
ThroughTheLookingGlass_EffectiveObservability.pptx
Grace Jansen
 
Jacob Marble [InfluxData] | Observability with InfluxDB IOx and OpenTelemetry...
InfluxData
 
OSMC 2023 | OpenTelemetry for Logging by Philipp Krenn
NETWAYS
 
Ad

More from VMware Tanzu (20)

PDF
Spring into AI presented by Dan Vega 5/14
VMware Tanzu
 
PDF
What AI Means For Your Product Strategy And What To Do About It
VMware Tanzu
 
PDF
Make the Right Thing the Obvious Thing at Cardinal Health 2023
VMware Tanzu
 
PPTX
Enhancing DevEx and Simplifying Operations at Scale
VMware Tanzu
 
PDF
Spring Update | July 2023
VMware Tanzu
 
PPTX
Platforms, Platform Engineering, & Platform as a Product
VMware Tanzu
 
PPTX
Building Cloud Ready Apps
VMware Tanzu
 
PDF
Spring Boot 3 And Beyond
VMware Tanzu
 
PDF
Spring Cloud Gateway - SpringOne Tour 2023 Charles Schwab.pdf
VMware Tanzu
 
PDF
Simplify and Scale Enterprise Apps in the Cloud | Boston 2023
VMware Tanzu
 
PDF
Simplify and Scale Enterprise Apps in the Cloud | Seattle 2023
VMware Tanzu
 
PPTX
tanzu_developer_connect.pptx
VMware Tanzu
 
PDF
Tanzu Virtual Developer Connect Workshop - French
VMware Tanzu
 
PDF
Tanzu Developer Connect Workshop - English
VMware Tanzu
 
PDF
Virtual Developer Connect Workshop - English
VMware Tanzu
 
PDF
Tanzu Developer Connect - French
VMware Tanzu
 
PDF
Simplify and Scale Enterprise Apps in the Cloud | Dallas 2023
VMware Tanzu
 
PDF
SpringOne Tour: Deliver 15-Factor Applications on Kubernetes with Spring Boot
VMware Tanzu
 
PDF
SpringOne Tour: The Influential Software Engineer
VMware Tanzu
 
PDF
SpringOne Tour: Domain-Driven Design: Theory vs Practice
VMware Tanzu
 
Spring into AI presented by Dan Vega 5/14
VMware Tanzu
 
What AI Means For Your Product Strategy And What To Do About It
VMware Tanzu
 
Make the Right Thing the Obvious Thing at Cardinal Health 2023
VMware Tanzu
 
Enhancing DevEx and Simplifying Operations at Scale
VMware Tanzu
 
Spring Update | July 2023
VMware Tanzu
 
Platforms, Platform Engineering, & Platform as a Product
VMware Tanzu
 
Building Cloud Ready Apps
VMware Tanzu
 
Spring Boot 3 And Beyond
VMware Tanzu
 
Spring Cloud Gateway - SpringOne Tour 2023 Charles Schwab.pdf
VMware Tanzu
 
Simplify and Scale Enterprise Apps in the Cloud | Boston 2023
VMware Tanzu
 
Simplify and Scale Enterprise Apps in the Cloud | Seattle 2023
VMware Tanzu
 
tanzu_developer_connect.pptx
VMware Tanzu
 
Tanzu Virtual Developer Connect Workshop - French
VMware Tanzu
 
Tanzu Developer Connect Workshop - English
VMware Tanzu
 
Virtual Developer Connect Workshop - English
VMware Tanzu
 
Tanzu Developer Connect - French
VMware Tanzu
 
Simplify and Scale Enterprise Apps in the Cloud | Dallas 2023
VMware Tanzu
 
SpringOne Tour: Deliver 15-Factor Applications on Kubernetes with Spring Boot
VMware Tanzu
 
SpringOne Tour: The Influential Software Engineer
VMware Tanzu
 
SpringOne Tour: Domain-Driven Design: Theory vs Practice
VMware Tanzu
 

Recently uploaded (20)

PPTX
Presentation about variables and constant.pptx
kr2589474
 
PDF
ShowUs: Pharo Stream Deck (ESUG 2025, Gdansk)
ESUG
 
PDF
lesson-2-rules-of-netiquette.pdf.bshhsjdj
jasmenrojas249
 
PDF
Enhancing Healthcare RPM Platforms with Contextual AI Integration
Cadabra Studio
 
PPT
Why Reliable Server Maintenance Service in New York is Crucial for Your Business
Sam Vohra
 
PDF
Teaching Reproducibility and Embracing Variability: From Floating-Point Exper...
University of Rennes, INSA Rennes, Inria/IRISA, CNRS
 
PPTX
slidesgo-unlocking-the-code-the-dynamic-dance-of-variables-and-constants-2024...
kr2589474
 
PPTX
Presentation about variables and constant.pptx
safalsingh810
 
PDF
What to consider before purchasing Microsoft 365 Business Premium_PDF.pdf
Q-Advise
 
PPTX
Web Testing.pptx528278vshbuqffqhhqiwnwuq
studylike474
 
PDF
Download iTop VPN Free 6.1.0.5882 Crack Full Activated Pre Latest 2025
imang66g
 
PDF
Key Features to Look for in Arizona App Development Services
Net-Craft.com
 
PDF
vAdobe Premiere Pro 2025 (v25.2.3.004) Crack Pre-Activated Latest
imang66g
 
PPTX
Maximizing Revenue with Marketo Measure: A Deep Dive into Multi-Touch Attribu...
bbedford2
 
PPTX
Presentation about Database and Database Administrator
abhishekchauhan86963
 
PDF
An Experience-Based Look at AI Lead Generation Pricing, Features & B2B Results
Thomas albart
 
PDF
Adobe Illustrator Crack Full Download (Latest Version 2025) Pre-Activated
imang66g
 
PPTX
AI-Ready Handoff: Auto-Summaries & Draft Emails from MQL to Slack in One Flow
bbedford2
 
PDF
49784907924775488180_LRN2959_Data_Pump_23ai.pdf
Abilash868456
 
PDF
49785682629390197565_LRN3014_Migrating_the_Beast.pdf
Abilash868456
 
Presentation about variables and constant.pptx
kr2589474
 
ShowUs: Pharo Stream Deck (ESUG 2025, Gdansk)
ESUG
 
lesson-2-rules-of-netiquette.pdf.bshhsjdj
jasmenrojas249
 
Enhancing Healthcare RPM Platforms with Contextual AI Integration
Cadabra Studio
 
Why Reliable Server Maintenance Service in New York is Crucial for Your Business
Sam Vohra
 
Teaching Reproducibility and Embracing Variability: From Floating-Point Exper...
University of Rennes, INSA Rennes, Inria/IRISA, CNRS
 
slidesgo-unlocking-the-code-the-dynamic-dance-of-variables-and-constants-2024...
kr2589474
 
Presentation about variables and constant.pptx
safalsingh810
 
What to consider before purchasing Microsoft 365 Business Premium_PDF.pdf
Q-Advise
 
Web Testing.pptx528278vshbuqffqhhqiwnwuq
studylike474
 
Download iTop VPN Free 6.1.0.5882 Crack Full Activated Pre Latest 2025
imang66g
 
Key Features to Look for in Arizona App Development Services
Net-Craft.com
 
vAdobe Premiere Pro 2025 (v25.2.3.004) Crack Pre-Activated Latest
imang66g
 
Maximizing Revenue with Marketo Measure: A Deep Dive into Multi-Touch Attribu...
bbedford2
 
Presentation about Database and Database Administrator
abhishekchauhan86963
 
An Experience-Based Look at AI Lead Generation Pricing, Features & B2B Results
Thomas albart
 
Adobe Illustrator Crack Full Download (Latest Version 2025) Pre-Activated
imang66g
 
AI-Ready Handoff: Auto-Summaries & Draft Emails from MQL to Slack in One Flow
bbedford2
 
49784907924775488180_LRN2959_Data_Pump_23ai.pdf
Abilash868456
 
49785682629390197565_LRN3014_Migrating_the_Beast.pdf
Abilash868456
 

Peering Inside the Black Box: A Case for Observability

  • 1. Peering inside the black box Gergely Tóth Java Platform Engineering
  • 2. SPRING ONE, SEPTEMBER 2021 PUBLIC What is my service up to? Environment How much memory is available? Are we going to run out of file descriptors? Interactions How many incoming/outgoing calls does it make? What is the latency in responding to requests? Resource Usage How much CPU are we using? How much heap are we using? Version What version of the application code is running? What JDK is being used?
  • 3. SPRING ONE, SEPTEMBER 2021 PUBLIC Three Pillars of Observability Tracing Series of related distributed events Events generated in different parts of the system for a given user interaction Metrics Numeric representation of measured data Maximum response time for a given endpoint Number of calls to an endpoint per seconds Logs Timestamped record of events Application startup and graceful shutdown Internal error detailed information
  • 4. SPRING ONE, SEPTEMBER 2021 PUBLIC Cornucopia of options … OpenTelemetry Standard solution Provides a common single API for observability Supports the mayor programing languages Easy to use Automatic instrumentation using the agent Easy to get started with any application Collector Central place to receive, process and export traces and metrics (and logs) W3C Standard of context propagation Replaces homegrown formats https://opentelemetry.io/img/logos/opentelemetry-stacked-color.png
  • 5. SPRING ONE, SEPTEMBER 2021 PUBLIC @NewSpan public void getAnnotationForTagValueResolver( @SpanTag(key = "test", resolver = TagValueResolver.class) String test) { } Spring Cloud Sleuth for tracing Part of Spring ecosystem Quick start: Spring initializr Integrates with other components OpenTelemetry bridge OpenTelemetry via Sleuth Currently in incubation https://spring.io/images/projects/spring-edf462fec682b9d48cf628eaf9e19521.svg
  • 6. SPRING ONE, SEPTEMBER 2021 PUBLIC Pet Clinic https://github.com/spring-projects/spring-petclinic
  • 7. SPRING ONE, SEPTEMBER 2021 PUBLIC How to: Pet Clinic Spring Cloud Gateway Pet Clinic Pet Clinic
  • 8. SPRING ONE, SEPTEMBER 2021 PUBLIC How to: Pet Clinic Spring Cloud Gateway Pet Clinic Pet Clinic OTEL Collector
  • 9. SPRING ONE, SEPTEMBER 2021 PUBLIC How to: Pet Clinic Spring Cloud Gateway Pet Clinic Pet Clinic OTEL Collector Jaeger
  • 10. SPRING ONE, SEPTEMBER 2021 PUBLIC How to: Pet Clinic Spring Cloud Gateway Pet Clinic Pet Clinic OTEL Collector Jaeger Zipkin
  • 11. SPRING ONE, SEPTEMBER 2021 PUBLIC How to: Pet Clinic Spring Cloud Gateway Pet Clinic Pet Clinic OTEL Collector Jaeger Zipkin Prometheus
  • 12. SPRING ONE, SEPTEMBER 2021 PUBLIC How to: Pet Clinic Spring Cloud Gateway Pet Clinic Pet Clinic OTEL Collector Jaeger Zipkin Prometheus Grafana
  • 13. SPRING ONE, SEPTEMBER 2021 PUBLIC Demo
  • 14. SPRING ONE, SEPTEMBER 2021 PUBLIC ▪ Getting live information about services is crucial ▪ There is a cornucopia of vendors/libs/frameworks that provide observability ▪ These require specific dependency/agent for the services ▪ OpenTelemetry standardizes and gives a vendor agnostic solution ▪ Spring already has a standard solution for traces: Sleuth ▪ Using the bridge between Sleuth and OpenTelemetry provides an easy solution to benefit from both without changing the already existing code The story
  • 15. SPRING ONE, SEPTEMBER 2021 PUBLIC ▪ Finalized Sleuth OpenTelemetry Bridge ▪ OpenTelemetry metrics SDK finalised ▪ OpenTelemetry for logs ▪ Integration of OpenTelemetry metrics export for Spring ▪ Integration for OpenTelemetry logs export for Spring What’s next?