THE WAY TO DISTRIBUTED TRACING
WHO ARE WE? ▸ Frank Pfleger ▸ Lukasz Pielak @frankpfleger @lukaszpielak frank@trasier.com lukasz@trasier.com
WHAT IS THIS TALK ABOUT ▸ Understand the concepts ▸ The way to Distributed Tracing ▸ Beyond Distributed Tracing
LOGGING
LOGGING
PULL REQUEST
REVIEWER CHANGES
AUTHOR CHANGES
LOGGING
LOGGING Source: https://www.baeldung.com/mdc-in-log4j-2-logback
LOGGING Source: https://www.baeldung.com/mdc-in-log4j-2-logback
LOGGING
LOGGING - MDC Source: https://www.baeldung.com/mdc-in-log4j-2-logback
TRACEABILITY OF SOFTWARE MONOLITHIC ARCHITECTURE
TRACEABILITY OF SOFTWARE MONOLITHIC ARCHITECTURE ▸ Components tightly coupled ▸ Difficult maintenance ▸ Long time to build ▸ Big bang release
TRACEABILITY OF SOFTWARE MICROSERVICES
TRACEABILITY OF SOFTWARE MICROSERVICES ▸ Difficult error detection (multiple hosts / pods) ▸ Increased latency ▸ Service versioning ▸ MDC thread scoped
TRACEABILITY OF SOFTWARE MDC CONTEXT PROPAGATION TK TK TK TK TK TK TK TK TK
DISTRIBUTED TRACING
DISTRIBUTED TRACING BRINGING EVENTS IN CAUSAL ORDER IN DISTRIBUTED ENVIRONMENT
DISTRIBUTED TRACING Span Trace Trace Context Tracer (span id, trace id)
DEMO
DISTRIBUTED TRACING WHY DISTRIBUTED TRACING? ▸ Latency visualization ▸ Service dependency visualization ▸ Hidden architecture revealed ▸ Error analysis ▸ Infrastructure check ▸ Version check
DISTRIBUTED TRACING PROBLEMS OF DISTRIBUTED TRACING ▸ Trace Context Host 1 ▸ Clock skew / synchronization SERVICE A ▸ Performance and stability ▸ Data ingestion and storage SERVICE B Host 2 ▸ Data retention Latency measurement points ▸ GDPA
CORRELATE LOG ENTRIES TRACE COMMUNICATION BETWEEN SERVICES USE DISTRIBUTED TRACING USE TRACE-ID IN THE MDC
THE WAY TO DISTRIBUTED TRACING
Common language OFFER (Specification / Trace-Context) WEBSHOP Context propagation BOOKING PAYMENT (Service Instrumentation) Decoupled Reporter COLLECTOR (Asynchronous collecting) BigData Store DATASTORE (High-Performance / Indexing) Live Reporting USER INTERFACE (Performance monitoring)
TOOLING LANDSCAPE
DEMO
SUPPORT FOR OPENTRACING ENABLES APM - PROVIDERS
BEYOND DISTRIBUTED TRACING
BEYOND DISTRIBUTED TRACING BUSINESS TRACING EASY BUG TRIAGE REPLAY CONVERSATIONS MOCK SERVICES BUSINESS ANALYSIS PREDICTIVE ANALYSIS
BUSINESS TRACING CONVERSATION AS A WHOLE
BUSINESS TRACING CONVERSATION AS A WHOLE
BUSINESS TRACING CONVERSATION AS A WHOLE
DEMO
BUSINESS TRACING THE POINT IS, YOU CAN NEVER BE TOO GREEDY. Donald Trump
BEYOND DISTRIBUTED TRACING BUSINESS TRACING EASY BUG TRIAGE REPLAY CONVERSATIONS MOCK SERVICES BUSINESS ANALYSIS PREDICTIVE ANALYSIS
BEYOND DISTRIBUTED TRACING BUSINESS TRACING EASY BUG TRIAGE REPLAY CONVERSATIONS MOCK SERVICES BUSINESS ANALYSIS PREDICTIVE ANALYSIS
BEYOND DISTRIBUTED TRACING REPLAY CONVERSATIONS OFFER DATASTORE WEBSHOP BOOKING PAYMENT
BEYOND DISTRIBUTED TRACING REPLAY CONVERSATIONS OFFER DATASTORE WEBSHOP BOOKING PAYMENT REPLAY-ENGINE
BEYOND DISTRIBUTED TRACING BUSINESS TRACING EASY BUG TRIAGE REPLAY CONVERSATIONS MOCK SERVICES BUSINESS ANALYSIS PREDICTIVE ANALYSIS
BEYOND DISTRIBUTED TRACING MOCK SERVICES OFFER DATASTORE WEBSHOP BOOKING PAYMENT-MOCK PAYMENT
BEYOND DISTRIBUTED TRACING BUSINESS TRACING EASY BUG TRIAGE REPLAY CONVERSATIONS MOCK SERVICES BUSINESS ANALYSIS PREDICTIVE ANALYSIS
BEYOND DISTRIBUTED TRACING BUSINESS ANALYSIS OFFER DATASTORE WEBSHOP BOOKING PAYMENT ANALYZER USER INTERFACE
BEYOND DISTRIBUTED TRACING BUSINESS TRACING EASY BUG TRIAGE REPLAY CONVERSATIONS MOCK SERVICES BUSINESS ANALYSIS PREDICTIVE ANALYSIS
TRY EXISTING SOLUTIONS REUSABLE TRACE CONTEXT CONSIDER THE VALUE OF YOUR DATA
Frank Pfleger Lukasz Pielak ▸ ▸ @frankpfleger @lukaszpielak frank@trasier.com lukasz@trasier.com Q & MAYBE A ; -)
adesso Schweiz AG ▸ OpenTracing Bahnhaldenstrasse 7 CH-8052 Zurich ▸ https://opentracing.io T +41 58 520 98 00 ▸ OpenCensus adesso Schweiz AG Morgenstrasse 129 ▸ https://opencensus.io CH-3018 Bern T +41 58 520 97 00 ▸ Zipkin adesso Schweiz AG Viaduktstrasse 8 ▸ https://zipkin.io CH-4051 Basel T +41 58 520 97 20 ▸ Jaeger info@adesso.ch ▸ https://jaegertracing.io www.adesso.ch ▸ Trasier ▸ https://trasier.com THANK YOU
Recommend
More recommend