the way to distributed tracing · 2018. 11. 5. · what is this talk about understand the concepts...
TRANSCRIPT
![Page 1: THE WAY TO DISTRIBUTED TRACING · 2018. 11. 5. · WHAT IS THIS TALK ABOUT Understand the concepts The way to Distributed Tracing Beyond Distributed Tracing](https://reader036.vdocuments.net/reader036/viewer/2022071109/5fe4d06e06b4775830253125/html5/thumbnails/1.jpg)
DISTRIBUTED TRACINGTHE WAY TO
![Page 3: THE WAY TO DISTRIBUTED TRACING · 2018. 11. 5. · WHAT IS THIS TALK ABOUT Understand the concepts The way to Distributed Tracing Beyond Distributed Tracing](https://reader036.vdocuments.net/reader036/viewer/2022071109/5fe4d06e06b4775830253125/html5/thumbnails/3.jpg)
WHAT IS THIS TALK ABOUT
▸ Understand the concepts
▸ The way to Distributed Tracing
▸ Beyond Distributed Tracing
![Page 4: THE WAY TO DISTRIBUTED TRACING · 2018. 11. 5. · WHAT IS THIS TALK ABOUT Understand the concepts The way to Distributed Tracing Beyond Distributed Tracing](https://reader036.vdocuments.net/reader036/viewer/2022071109/5fe4d06e06b4775830253125/html5/thumbnails/4.jpg)
LOGGING
![Page 5: THE WAY TO DISTRIBUTED TRACING · 2018. 11. 5. · WHAT IS THIS TALK ABOUT Understand the concepts The way to Distributed Tracing Beyond Distributed Tracing](https://reader036.vdocuments.net/reader036/viewer/2022071109/5fe4d06e06b4775830253125/html5/thumbnails/5.jpg)
LOGGING
![Page 6: THE WAY TO DISTRIBUTED TRACING · 2018. 11. 5. · WHAT IS THIS TALK ABOUT Understand the concepts The way to Distributed Tracing Beyond Distributed Tracing](https://reader036.vdocuments.net/reader036/viewer/2022071109/5fe4d06e06b4775830253125/html5/thumbnails/6.jpg)
PULL REQUEST
![Page 7: THE WAY TO DISTRIBUTED TRACING · 2018. 11. 5. · WHAT IS THIS TALK ABOUT Understand the concepts The way to Distributed Tracing Beyond Distributed Tracing](https://reader036.vdocuments.net/reader036/viewer/2022071109/5fe4d06e06b4775830253125/html5/thumbnails/7.jpg)
REVIEWER CHANGES
![Page 8: THE WAY TO DISTRIBUTED TRACING · 2018. 11. 5. · WHAT IS THIS TALK ABOUT Understand the concepts The way to Distributed Tracing Beyond Distributed Tracing](https://reader036.vdocuments.net/reader036/viewer/2022071109/5fe4d06e06b4775830253125/html5/thumbnails/8.jpg)
AUTHOR CHANGES
![Page 9: THE WAY TO DISTRIBUTED TRACING · 2018. 11. 5. · WHAT IS THIS TALK ABOUT Understand the concepts The way to Distributed Tracing Beyond Distributed Tracing](https://reader036.vdocuments.net/reader036/viewer/2022071109/5fe4d06e06b4775830253125/html5/thumbnails/9.jpg)
LOGGING
![Page 10: THE WAY TO DISTRIBUTED TRACING · 2018. 11. 5. · WHAT IS THIS TALK ABOUT Understand the concepts The way to Distributed Tracing Beyond Distributed Tracing](https://reader036.vdocuments.net/reader036/viewer/2022071109/5fe4d06e06b4775830253125/html5/thumbnails/10.jpg)
LOGGING
Source: https://www.baeldung.com/mdc-in-log4j-2-logback
![Page 11: THE WAY TO DISTRIBUTED TRACING · 2018. 11. 5. · WHAT IS THIS TALK ABOUT Understand the concepts The way to Distributed Tracing Beyond Distributed Tracing](https://reader036.vdocuments.net/reader036/viewer/2022071109/5fe4d06e06b4775830253125/html5/thumbnails/11.jpg)
LOGGING
Source: https://www.baeldung.com/mdc-in-log4j-2-logback
![Page 12: THE WAY TO DISTRIBUTED TRACING · 2018. 11. 5. · WHAT IS THIS TALK ABOUT Understand the concepts The way to Distributed Tracing Beyond Distributed Tracing](https://reader036.vdocuments.net/reader036/viewer/2022071109/5fe4d06e06b4775830253125/html5/thumbnails/12.jpg)
LOGGING
![Page 13: THE WAY TO DISTRIBUTED TRACING · 2018. 11. 5. · WHAT IS THIS TALK ABOUT Understand the concepts The way to Distributed Tracing Beyond Distributed Tracing](https://reader036.vdocuments.net/reader036/viewer/2022071109/5fe4d06e06b4775830253125/html5/thumbnails/13.jpg)
LOGGING - MDC
Source: https://www.baeldung.com/mdc-in-log4j-2-logback
![Page 14: THE WAY TO DISTRIBUTED TRACING · 2018. 11. 5. · WHAT IS THIS TALK ABOUT Understand the concepts The way to Distributed Tracing Beyond Distributed Tracing](https://reader036.vdocuments.net/reader036/viewer/2022071109/5fe4d06e06b4775830253125/html5/thumbnails/14.jpg)
TRACEABILITY OF SOFTWARE
MONOLITHIC ARCHITECTURE
![Page 15: THE WAY TO DISTRIBUTED TRACING · 2018. 11. 5. · WHAT IS THIS TALK ABOUT Understand the concepts The way to Distributed Tracing Beyond Distributed Tracing](https://reader036.vdocuments.net/reader036/viewer/2022071109/5fe4d06e06b4775830253125/html5/thumbnails/15.jpg)
TRACEABILITY OF SOFTWARE
MONOLITHIC ARCHITECTURE▸ Components tightly coupled
▸ Difficult maintenance
▸ Long time to build
▸ Big bang release
![Page 16: THE WAY TO DISTRIBUTED TRACING · 2018. 11. 5. · WHAT IS THIS TALK ABOUT Understand the concepts The way to Distributed Tracing Beyond Distributed Tracing](https://reader036.vdocuments.net/reader036/viewer/2022071109/5fe4d06e06b4775830253125/html5/thumbnails/16.jpg)
TRACEABILITY OF SOFTWARE
MICROSERVICES
![Page 17: THE WAY TO DISTRIBUTED TRACING · 2018. 11. 5. · WHAT IS THIS TALK ABOUT Understand the concepts The way to Distributed Tracing Beyond Distributed Tracing](https://reader036.vdocuments.net/reader036/viewer/2022071109/5fe4d06e06b4775830253125/html5/thumbnails/17.jpg)
TRACEABILITY OF SOFTWARE
▸ Difficult error detection (multiple hosts / pods)
▸ Increased latency
▸ Service versioning
▸ MDC thread scoped
MICROSERVICES
![Page 18: THE WAY TO DISTRIBUTED TRACING · 2018. 11. 5. · WHAT IS THIS TALK ABOUT Understand the concepts The way to Distributed Tracing Beyond Distributed Tracing](https://reader036.vdocuments.net/reader036/viewer/2022071109/5fe4d06e06b4775830253125/html5/thumbnails/18.jpg)
TRACEABILITY OF SOFTWARE
MDC CONTEXT PROPAGATION
TK TK TK
TKTK
TK
TK
TK TK
![Page 19: THE WAY TO DISTRIBUTED TRACING · 2018. 11. 5. · WHAT IS THIS TALK ABOUT Understand the concepts The way to Distributed Tracing Beyond Distributed Tracing](https://reader036.vdocuments.net/reader036/viewer/2022071109/5fe4d06e06b4775830253125/html5/thumbnails/19.jpg)
DISTRIBUTED TRACING
![Page 20: THE WAY TO DISTRIBUTED TRACING · 2018. 11. 5. · WHAT IS THIS TALK ABOUT Understand the concepts The way to Distributed Tracing Beyond Distributed Tracing](https://reader036.vdocuments.net/reader036/viewer/2022071109/5fe4d06e06b4775830253125/html5/thumbnails/20.jpg)
DISTRIBUTED TRACING
BRINGING EVENTS IN
CAUSAL ORDER IN
DISTRIBUTED ENVIRONMENT
![Page 21: THE WAY TO DISTRIBUTED TRACING · 2018. 11. 5. · WHAT IS THIS TALK ABOUT Understand the concepts The way to Distributed Tracing Beyond Distributed Tracing](https://reader036.vdocuments.net/reader036/viewer/2022071109/5fe4d06e06b4775830253125/html5/thumbnails/21.jpg)
DISTRIBUTED TRACING
Span TracerTrace Context(span id, trace id)
Trace
![Page 22: THE WAY TO DISTRIBUTED TRACING · 2018. 11. 5. · WHAT IS THIS TALK ABOUT Understand the concepts The way to Distributed Tracing Beyond Distributed Tracing](https://reader036.vdocuments.net/reader036/viewer/2022071109/5fe4d06e06b4775830253125/html5/thumbnails/22.jpg)
DEMO
![Page 23: THE WAY TO DISTRIBUTED TRACING · 2018. 11. 5. · WHAT IS THIS TALK ABOUT Understand the concepts The way to Distributed Tracing Beyond Distributed Tracing](https://reader036.vdocuments.net/reader036/viewer/2022071109/5fe4d06e06b4775830253125/html5/thumbnails/23.jpg)
DISTRIBUTED TRACING
WHY DISTRIBUTED TRACING?
▸ Latency visualization
▸ Service dependency visualization
▸ Hidden architecture revealed
▸ Error analysis
▸ Infrastructure check
▸ Version check
![Page 24: THE WAY TO DISTRIBUTED TRACING · 2018. 11. 5. · WHAT IS THIS TALK ABOUT Understand the concepts The way to Distributed Tracing Beyond Distributed Tracing](https://reader036.vdocuments.net/reader036/viewer/2022071109/5fe4d06e06b4775830253125/html5/thumbnails/24.jpg)
▸ Trace Context
▸ Clock skew / synchronization
▸ Performance and stability
▸ Data ingestion and storage
▸ Data retention
▸ GDPA
DISTRIBUTED TRACING
PROBLEMS OF DISTRIBUTED TRACING
SERVICE B
SERVICE A
Latency measurement points
Host 1
Host 2
![Page 25: THE WAY TO DISTRIBUTED TRACING · 2018. 11. 5. · WHAT IS THIS TALK ABOUT Understand the concepts The way to Distributed Tracing Beyond Distributed Tracing](https://reader036.vdocuments.net/reader036/viewer/2022071109/5fe4d06e06b4775830253125/html5/thumbnails/25.jpg)
CORRELATE LOG ENTRIES
TRACE COMMUNICATION BETWEEN SERVICES
USE DISTRIBUTED TRACING
USE TRACE-ID IN THE MDC
![Page 26: THE WAY TO DISTRIBUTED TRACING · 2018. 11. 5. · WHAT IS THIS TALK ABOUT Understand the concepts The way to Distributed Tracing Beyond Distributed Tracing](https://reader036.vdocuments.net/reader036/viewer/2022071109/5fe4d06e06b4775830253125/html5/thumbnails/26.jpg)
THE WAY TO DISTRIBUTED TRACING
![Page 27: THE WAY TO DISTRIBUTED TRACING · 2018. 11. 5. · WHAT IS THIS TALK ABOUT Understand the concepts The way to Distributed Tracing Beyond Distributed Tracing](https://reader036.vdocuments.net/reader036/viewer/2022071109/5fe4d06e06b4775830253125/html5/thumbnails/27.jpg)
BOOKING PAYMENT
USER INTERFACE Live Reporting(Performance monitoring)
OFFER
DATASTORE BigData Store(High-Performance / Indexing)
WEBS
HOP
Context propagation(Service Instrumentation)
Common language(Specification / Trace-Context)
COLLECTOR Decoupled Reporter(Asynchronous collecting)
![Page 28: THE WAY TO DISTRIBUTED TRACING · 2018. 11. 5. · WHAT IS THIS TALK ABOUT Understand the concepts The way to Distributed Tracing Beyond Distributed Tracing](https://reader036.vdocuments.net/reader036/viewer/2022071109/5fe4d06e06b4775830253125/html5/thumbnails/28.jpg)
TOOLING LANDSCAPE
![Page 29: THE WAY TO DISTRIBUTED TRACING · 2018. 11. 5. · WHAT IS THIS TALK ABOUT Understand the concepts The way to Distributed Tracing Beyond Distributed Tracing](https://reader036.vdocuments.net/reader036/viewer/2022071109/5fe4d06e06b4775830253125/html5/thumbnails/29.jpg)
DEMO
![Page 30: THE WAY TO DISTRIBUTED TRACING · 2018. 11. 5. · WHAT IS THIS TALK ABOUT Understand the concepts The way to Distributed Tracing Beyond Distributed Tracing](https://reader036.vdocuments.net/reader036/viewer/2022071109/5fe4d06e06b4775830253125/html5/thumbnails/30.jpg)
APM - PROVIDERSSUPPORT FOR OPENTRACING ENABLES
![Page 31: THE WAY TO DISTRIBUTED TRACING · 2018. 11. 5. · WHAT IS THIS TALK ABOUT Understand the concepts The way to Distributed Tracing Beyond Distributed Tracing](https://reader036.vdocuments.net/reader036/viewer/2022071109/5fe4d06e06b4775830253125/html5/thumbnails/31.jpg)
BEYONDDISTRIBUTED TRACING
![Page 32: THE WAY TO DISTRIBUTED TRACING · 2018. 11. 5. · WHAT IS THIS TALK ABOUT Understand the concepts The way to Distributed Tracing Beyond Distributed Tracing](https://reader036.vdocuments.net/reader036/viewer/2022071109/5fe4d06e06b4775830253125/html5/thumbnails/32.jpg)
BEYOND DISTRIBUTED TRACING
BUSINESS TRACING EASY BUG TRIAGE
REPLAY CONVERSATIONS MOCK SERVICES
BUSINESS ANALYSIS PREDICTIVE ANALYSIS
![Page 33: THE WAY TO DISTRIBUTED TRACING · 2018. 11. 5. · WHAT IS THIS TALK ABOUT Understand the concepts The way to Distributed Tracing Beyond Distributed Tracing](https://reader036.vdocuments.net/reader036/viewer/2022071109/5fe4d06e06b4775830253125/html5/thumbnails/33.jpg)
BUSINESS TRACING
CONVERSATION AS A WHOLE
![Page 34: THE WAY TO DISTRIBUTED TRACING · 2018. 11. 5. · WHAT IS THIS TALK ABOUT Understand the concepts The way to Distributed Tracing Beyond Distributed Tracing](https://reader036.vdocuments.net/reader036/viewer/2022071109/5fe4d06e06b4775830253125/html5/thumbnails/34.jpg)
BUSINESS TRACING
CONVERSATION AS A WHOLE
![Page 35: THE WAY TO DISTRIBUTED TRACING · 2018. 11. 5. · WHAT IS THIS TALK ABOUT Understand the concepts The way to Distributed Tracing Beyond Distributed Tracing](https://reader036.vdocuments.net/reader036/viewer/2022071109/5fe4d06e06b4775830253125/html5/thumbnails/35.jpg)
BUSINESS TRACING
CONVERSATION AS A WHOLE
![Page 36: THE WAY TO DISTRIBUTED TRACING · 2018. 11. 5. · WHAT IS THIS TALK ABOUT Understand the concepts The way to Distributed Tracing Beyond Distributed Tracing](https://reader036.vdocuments.net/reader036/viewer/2022071109/5fe4d06e06b4775830253125/html5/thumbnails/36.jpg)
DEMO
![Page 37: THE WAY TO DISTRIBUTED TRACING · 2018. 11. 5. · WHAT IS THIS TALK ABOUT Understand the concepts The way to Distributed Tracing Beyond Distributed Tracing](https://reader036.vdocuments.net/reader036/viewer/2022071109/5fe4d06e06b4775830253125/html5/thumbnails/37.jpg)
THE POINT IS, YOU CAN NEVER BE TOO GREEDY.
Donald Trump
BUSINESS TRACING
![Page 38: THE WAY TO DISTRIBUTED TRACING · 2018. 11. 5. · WHAT IS THIS TALK ABOUT Understand the concepts The way to Distributed Tracing Beyond Distributed Tracing](https://reader036.vdocuments.net/reader036/viewer/2022071109/5fe4d06e06b4775830253125/html5/thumbnails/38.jpg)
BEYOND DISTRIBUTED TRACING
BUSINESS TRACING EASY BUG TRIAGE
REPLAY CONVERSATIONS MOCK SERVICES
BUSINESS ANALYSIS PREDICTIVE ANALYSIS
![Page 39: THE WAY TO DISTRIBUTED TRACING · 2018. 11. 5. · WHAT IS THIS TALK ABOUT Understand the concepts The way to Distributed Tracing Beyond Distributed Tracing](https://reader036.vdocuments.net/reader036/viewer/2022071109/5fe4d06e06b4775830253125/html5/thumbnails/39.jpg)
BEYOND DISTRIBUTED TRACING
BUSINESS TRACING EASY BUG TRIAGE
REPLAY CONVERSATIONS MOCK SERVICES
BUSINESS ANALYSIS PREDICTIVE ANALYSIS
![Page 40: THE WAY TO DISTRIBUTED TRACING · 2018. 11. 5. · WHAT IS THIS TALK ABOUT Understand the concepts The way to Distributed Tracing Beyond Distributed Tracing](https://reader036.vdocuments.net/reader036/viewer/2022071109/5fe4d06e06b4775830253125/html5/thumbnails/40.jpg)
BEYOND DISTRIBUTED TRACING
REPLAY CONVERSATIONS
BOOKING PAYMENT
OFFER
WEBS
HOP
DATASTORE
![Page 41: THE WAY TO DISTRIBUTED TRACING · 2018. 11. 5. · WHAT IS THIS TALK ABOUT Understand the concepts The way to Distributed Tracing Beyond Distributed Tracing](https://reader036.vdocuments.net/reader036/viewer/2022071109/5fe4d06e06b4775830253125/html5/thumbnails/41.jpg)
BEYOND DISTRIBUTED TRACING
REPLAY CONVERSATIONS
BOOKING PAYMENT
OFFER
WEBS
HOP
DATASTORE
REPLAY-ENGINE
![Page 42: THE WAY TO DISTRIBUTED TRACING · 2018. 11. 5. · WHAT IS THIS TALK ABOUT Understand the concepts The way to Distributed Tracing Beyond Distributed Tracing](https://reader036.vdocuments.net/reader036/viewer/2022071109/5fe4d06e06b4775830253125/html5/thumbnails/42.jpg)
BEYOND DISTRIBUTED TRACING
BUSINESS TRACING EASY BUG TRIAGE
REPLAY CONVERSATIONS MOCK SERVICES
BUSINESS ANALYSIS PREDICTIVE ANALYSIS
![Page 43: THE WAY TO DISTRIBUTED TRACING · 2018. 11. 5. · WHAT IS THIS TALK ABOUT Understand the concepts The way to Distributed Tracing Beyond Distributed Tracing](https://reader036.vdocuments.net/reader036/viewer/2022071109/5fe4d06e06b4775830253125/html5/thumbnails/43.jpg)
PAYMENT
BEYOND DISTRIBUTED TRACING
MOCK SERVICES
BOOKING
OFFER
WEBS
HOP
PAYMENT-MOCK
DATASTORE
![Page 44: THE WAY TO DISTRIBUTED TRACING · 2018. 11. 5. · WHAT IS THIS TALK ABOUT Understand the concepts The way to Distributed Tracing Beyond Distributed Tracing](https://reader036.vdocuments.net/reader036/viewer/2022071109/5fe4d06e06b4775830253125/html5/thumbnails/44.jpg)
BEYOND DISTRIBUTED TRACING
BUSINESS TRACING EASY BUG TRIAGE
REPLAY CONVERSATIONS MOCK SERVICES
BUSINESS ANALYSIS PREDICTIVE ANALYSIS
![Page 45: THE WAY TO DISTRIBUTED TRACING · 2018. 11. 5. · WHAT IS THIS TALK ABOUT Understand the concepts The way to Distributed Tracing Beyond Distributed Tracing](https://reader036.vdocuments.net/reader036/viewer/2022071109/5fe4d06e06b4775830253125/html5/thumbnails/45.jpg)
BEYOND DISTRIBUTED TRACING
BUSINESS ANALYSIS
BOOKING PAYMENT
OFFER
WEBS
HOP
DATASTORE
ANALYZER
USER INTERFACE
![Page 46: THE WAY TO DISTRIBUTED TRACING · 2018. 11. 5. · WHAT IS THIS TALK ABOUT Understand the concepts The way to Distributed Tracing Beyond Distributed Tracing](https://reader036.vdocuments.net/reader036/viewer/2022071109/5fe4d06e06b4775830253125/html5/thumbnails/46.jpg)
BEYOND DISTRIBUTED TRACING
BUSINESS TRACING EASY BUG TRIAGE
REPLAY CONVERSATIONS MOCK SERVICES
BUSINESS ANALYSIS PREDICTIVE ANALYSIS
![Page 47: THE WAY TO DISTRIBUTED TRACING · 2018. 11. 5. · WHAT IS THIS TALK ABOUT Understand the concepts The way to Distributed Tracing Beyond Distributed Tracing](https://reader036.vdocuments.net/reader036/viewer/2022071109/5fe4d06e06b4775830253125/html5/thumbnails/47.jpg)
TRY EXISTING SOLUTIONS REUSABLE TRACE CONTEXT
CONSIDER THE VALUE OF YOUR DATA
![Page 49: THE WAY TO DISTRIBUTED TRACING · 2018. 11. 5. · WHAT IS THIS TALK ABOUT Understand the concepts The way to Distributed Tracing Beyond Distributed Tracing](https://reader036.vdocuments.net/reader036/viewer/2022071109/5fe4d06e06b4775830253125/html5/thumbnails/49.jpg)
▸ OpenTracing
▸ https://opentracing.io
▸ OpenCensus
▸ https://opencensus.io
▸ Zipkin
▸ https://zipkin.io
▸ Jaeger
▸ https://jaegertracing.io
▸ Trasier
▸ https://trasier.com
adesso Schweiz AG Bahnhaldenstrasse 7
CH-8052 Zurich T +41 58 520 98 00
adesso Schweiz AG Morgenstrasse 129
CH-3018 Bern T +41 58 520 97 00
adesso Schweiz AG Viaduktstrasse 8
CH-4051 Basel T +41 58 520 97 20
[email protected] www.adesso.ch
THANK YOU