0% found this document useful (0 votes)
97 views16 pages

Devnation Advanced Microservices Tracing With Jaeger

The document discusses advanced microservices tracing using Jaeger. It provides context on microservices architectures and the importance of observability tools like metrics, logs, and distributed tracing. It introduces OpenTracing as a vendor-neutral specification and Jaeger as an open-source distributed tracing system. The presentation demonstrates how to instrument applications with OpenTracing libraries and trace requests as they flow across services, and how to use distributed context propagation in Istio service mesh to route requests based on tracing data.
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
97 views16 pages

Devnation Advanced Microservices Tracing With Jaeger

The document discusses advanced microservices tracing using Jaeger. It provides context on microservices architectures and the importance of observability tools like metrics, logs, and distributed tracing. It introduces OpenTracing as a vendor-neutral specification and Jaeger as an open-source distributed tracing system. The presentation demonstrates how to instrument applications with OpenTracing libraries and trace requests as they flow across services, and how to use distributed context propagation in Istio service mesh to route requests based on tracing data.
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
You are on page 1/ 16

ADVANCED MICROSERVICES TRACING WITH

JAEGER
DevNation Live Tech Talks
2018-06-21
 
JURACI PAIXÃO KRÖHLING AND PAVOL LOFFAY
Software Engineers
jpkroehling and ploffay on #kiali at irc.freenode.net
CONTEXT - MICROSERVICES
 

* TENS, HUNDREDS OR THOUSANDS
 

* AT DIFFERENT VERSIONS
 

* TALKING TO EACH OTHER

@jpkrohling / @ploffay
CONTEXT - OBSERVABILITY
 

* METRICS
 

* LOGS
 

* TRACING
 

* ALERTING

@jpkrohling / @ploffay
CONTEXT - OBSERVABILITY
 

* HINT: HTTPS://KIALI.ORG

@jpkrohling / @ploffay
CONTEXT - TRACING
 

* CODE INSTRUMENTATION
 

* "SPAN" IS A WRAPPER AROUND A UNIT OF WORK
 

* SPAN CAN REFERENCE OTHER SPANS
 

* EXPLICIT VS. IMPLICIT INSTRUMENTATION

@jpkrohling / @ploffay
CONTEXT - DISTRIBUTED TRACING
 

* TRACING + CONTEXT PROPAGATION
 

* STORY OF A REQUEST ACROSS SERVICES

@jpkrohling / @ploffay
OPENTRACING
 

* VENDOR NEUTRAL SPECIFICATION
 
* INSTRUMENTATION API
 
* PART OF THE CNCF

@jpkrohling / @ploffay
JAEGER
 

* CONCRETE OPENTRACING TRACER
 

* BACKEND TO RECEIVE TRACING DATA
 

* UI TO DISPLAY THE TRACE
 

* PART OF THE CNCF
 

@jpkrohling / @ploffay
DEMO
 

* INSTRUMENTATION IN PRACTICE
 

* TRACING IN ISTIO
 

* USING DISTRIBUTED CONTEXT PROPAGATION IN ISTIO
 
 

@jpkrohling / @ploffay
INSTRUMENTATION
 

Source: https://www.jaegertracing.io/docs/architecture/

@jpkrohling / @ploffay
INSTRUMENTATION
 

* GOSTDLIB, GRPC, HTTP FRAMEWORKS, KAFKA
 

* SPRING BOOT - WEB, MESSAGING, DATABASES
 

* MICROPROFILE - THORNTAIL/WILDFLY-SWARM
 
 

@jpkrohling / @ploffay
DEMO TRACING SPRING BOOT
 

* TRACING STARTER(S)
 

* OPENTRACING-SPRING-JAEGER-STARTER
 

* LOGS ADDED TO SPAN, EXCEPTIONS  
 
 

@jpkrohling / @ploffay
TRACING IN ISTIO
 

* REDHAT-DEVELOPER-DEMOS/ISTIO-TUTORIAL
 

* NO INSTRUMENTATION NEEDED = FORWARD HEADERS
MANUALLY
 

* USE INSTRUMENTATION FOR HEADERS PROPAGATION
 

* DOUBLE SPANS - PROXY AND INSTRUMENTATION
 
 
@jpkrohling / @ploffay
ROUTING IN ISTIO USING BAGGAGE
 

* BAGGAGE-KEY:VALUE
 

* BAGGAGE-USER-AGENT:SAFARI
 

* BAGGAGE IS ALSO LOGGED
 
 

@jpkrohling / @ploffay
Q&A

@jpkrohling / @ploffay
RESOURCES
 
 

*  GITHUB.COM/REDHAT-DEVELOPER-DEMOS/ISTIO-
TUTORIAL
* JAEGERTRACING.IO
* OPENTRACING.IO
*  KIALI.ORG
 

@jpkrohling / @ploffay

You might also like