Distributed tracing - Know your enemy€¦ · Sergey Sergey's team Create a design All your designs...
Transcript of Distributed tracing - Know your enemy€¦ · Sergey Sergey's team Create a design All your designs...
![Page 1: Distributed tracing - Know your enemy€¦ · Sergey Sergey's team Create a design All your designs Shared with you Team members Your brand Team stream Find templates plore 2.0 Ad](https://reader033.fdocuments.us/reader033/viewer/2022042220/5ec5df814e0d9f1732175b68/html5/thumbnails/1.jpg)
![Page 2: Distributed tracing - Know your enemy€¦ · Sergey Sergey's team Create a design All your designs Shared with you Team members Your brand Team stream Find templates plore 2.0 Ad](https://reader033.fdocuments.us/reader033/viewer/2022042220/5ec5df814e0d9f1732175b68/html5/thumbnails/2.jpg)
![Page 3: Distributed tracing - Know your enemy€¦ · Sergey Sergey's team Create a design All your designs Shared with you Team members Your brand Team stream Find templates plore 2.0 Ad](https://reader033.fdocuments.us/reader033/viewer/2022042220/5ec5df814e0d9f1732175b68/html5/thumbnails/3.jpg)
![Page 4: Distributed tracing - Know your enemy€¦ · Sergey Sergey's team Create a design All your designs Shared with you Team members Your brand Team stream Find templates plore 2.0 Ad](https://reader033.fdocuments.us/reader033/viewer/2022042220/5ec5df814e0d9f1732175b68/html5/thumbnails/4.jpg)
![Page 5: Distributed tracing - Know your enemy€¦ · Sergey Sergey's team Create a design All your designs Shared with you Team members Your brand Team stream Find templates plore 2.0 Ad](https://reader033.fdocuments.us/reader033/viewer/2022042220/5ec5df814e0d9f1732175b68/html5/thumbnails/5.jpg)
![Page 6: Distributed tracing - Know your enemy€¦ · Sergey Sergey's team Create a design All your designs Shared with you Team members Your brand Team stream Find templates plore 2.0 Ad](https://reader033.fdocuments.us/reader033/viewer/2022042220/5ec5df814e0d9f1732175b68/html5/thumbnails/6.jpg)
![Page 7: Distributed tracing - Know your enemy€¦ · Sergey Sergey's team Create a design All your designs Shared with you Team members Your brand Team stream Find templates plore 2.0 Ad](https://reader033.fdocuments.us/reader033/viewer/2022042220/5ec5df814e0d9f1732175b68/html5/thumbnails/7.jpg)
![Page 8: Distributed tracing - Know your enemy€¦ · Sergey Sergey's team Create a design All your designs Shared with you Team members Your brand Team stream Find templates plore 2.0 Ad](https://reader033.fdocuments.us/reader033/viewer/2022042220/5ec5df814e0d9f1732175b68/html5/thumbnails/8.jpg)
Why does this take too long?
Take a look at the logs? Check exceptions?Dive into loads of metrics?
![Page 9: Distributed tracing - Know your enemy€¦ · Sergey Sergey's team Create a design All your designs Shared with you Team members Your brand Team stream Find templates plore 2.0 Ad](https://reader033.fdocuments.us/reader033/viewer/2022042220/5ec5df814e0d9f1732175b68/html5/thumbnails/9.jpg)
![Page 10: Distributed tracing - Know your enemy€¦ · Sergey Sergey's team Create a design All your designs Shared with you Team members Your brand Team stream Find templates plore 2.0 Ad](https://reader033.fdocuments.us/reader033/viewer/2022042220/5ec5df814e0d9f1732175b68/html5/thumbnails/10.jpg)
![Page 11: Distributed tracing - Know your enemy€¦ · Sergey Sergey's team Create a design All your designs Shared with you Team members Your brand Team stream Find templates plore 2.0 Ad](https://reader033.fdocuments.us/reader033/viewer/2022042220/5ec5df814e0d9f1732175b68/html5/thumbnails/11.jpg)
![Page 12: Distributed tracing - Know your enemy€¦ · Sergey Sergey's team Create a design All your designs Shared with you Team members Your brand Team stream Find templates plore 2.0 Ad](https://reader033.fdocuments.us/reader033/viewer/2022042220/5ec5df814e0d9f1732175b68/html5/thumbnails/12.jpg)
¯\_(ツ)_/¯
![Page 13: Distributed tracing - Know your enemy€¦ · Sergey Sergey's team Create a design All your designs Shared with you Team members Your brand Team stream Find templates plore 2.0 Ad](https://reader033.fdocuments.us/reader033/viewer/2022042220/5ec5df814e0d9f1732175b68/html5/thumbnails/13.jpg)
Low overhead Application-level transparency Scalability
![Page 14: Distributed tracing - Know your enemy€¦ · Sergey Sergey's team Create a design All your designs Shared with you Team members Your brand Team stream Find templates plore 2.0 Ad](https://reader033.fdocuments.us/reader033/viewer/2022042220/5ec5df814e0d9f1732175b68/html5/thumbnails/14.jpg)
Span - a unit of workTrace - a tree of spans representing a single request
![Page 15: Distributed tracing - Know your enemy€¦ · Sergey Sergey's team Create a design All your designs Shared with you Team members Your brand Team stream Find templates plore 2.0 Ad](https://reader033.fdocuments.us/reader033/viewer/2022042220/5ec5df814e0d9f1732175b68/html5/thumbnails/15.jpg)
![Page 16: Distributed tracing - Know your enemy€¦ · Sergey Sergey's team Create a design All your designs Shared with you Team members Your brand Team stream Find templates plore 2.0 Ad](https://reader033.fdocuments.us/reader033/viewer/2022042220/5ec5df814e0d9f1732175b68/html5/thumbnails/16.jpg)
![Page 17: Distributed tracing - Know your enemy€¦ · Sergey Sergey's team Create a design All your designs Shared with you Team members Your brand Team stream Find templates plore 2.0 Ad](https://reader033.fdocuments.us/reader033/viewer/2022042220/5ec5df814e0d9f1732175b68/html5/thumbnails/17.jpg)
![Page 18: Distributed tracing - Know your enemy€¦ · Sergey Sergey's team Create a design All your designs Shared with you Team members Your brand Team stream Find templates plore 2.0 Ad](https://reader033.fdocuments.us/reader033/viewer/2022042220/5ec5df814e0d9f1732175b68/html5/thumbnails/18.jpg)
![Page 19: Distributed tracing - Know your enemy€¦ · Sergey Sergey's team Create a design All your designs Shared with you Team members Your brand Team stream Find templates plore 2.0 Ad](https://reader033.fdocuments.us/reader033/viewer/2022042220/5ec5df814e0d9f1732175b68/html5/thumbnails/19.jpg)
![Page 20: Distributed tracing - Know your enemy€¦ · Sergey Sergey's team Create a design All your designs Shared with you Team members Your brand Team stream Find templates plore 2.0 Ad](https://reader033.fdocuments.us/reader033/viewer/2022042220/5ec5df814e0d9f1732175b68/html5/thumbnails/20.jpg)
![Page 21: Distributed tracing - Know your enemy€¦ · Sergey Sergey's team Create a design All your designs Shared with you Team members Your brand Team stream Find templates plore 2.0 Ad](https://reader033.fdocuments.us/reader033/viewer/2022042220/5ec5df814e0d9f1732175b68/html5/thumbnails/21.jpg)
![Page 22: Distributed tracing - Know your enemy€¦ · Sergey Sergey's team Create a design All your designs Shared with you Team members Your brand Team stream Find templates plore 2.0 Ad](https://reader033.fdocuments.us/reader033/viewer/2022042220/5ec5df814e0d9f1732175b68/html5/thumbnails/22.jpg)
![Page 23: Distributed tracing - Know your enemy€¦ · Sergey Sergey's team Create a design All your designs Shared with you Team members Your brand Team stream Find templates plore 2.0 Ad](https://reader033.fdocuments.us/reader033/viewer/2022042220/5ec5df814e0d9f1732175b68/html5/thumbnails/23.jpg)
![Page 24: Distributed tracing - Know your enemy€¦ · Sergey Sergey's team Create a design All your designs Shared with you Team members Your brand Team stream Find templates plore 2.0 Ad](https://reader033.fdocuments.us/reader033/viewer/2022042220/5ec5df814e0d9f1732175b68/html5/thumbnails/24.jpg)
DEMO
![Page 25: Distributed tracing - Know your enemy€¦ · Sergey Sergey's team Create a design All your designs Shared with you Team members Your brand Team stream Find templates plore 2.0 Ad](https://reader033.fdocuments.us/reader033/viewer/2022042220/5ec5df814e0d9f1732175b68/html5/thumbnails/25.jpg)
tiny.cc/sydkotlin
![Page 26: Distributed tracing - Know your enemy€¦ · Sergey Sergey's team Create a design All your designs Shared with you Team members Your brand Team stream Find templates plore 2.0 Ad](https://reader033.fdocuments.us/reader033/viewer/2022042220/5ec5df814e0d9f1732175b68/html5/thumbnails/26.jpg)
![Page 27: Distributed tracing - Know your enemy€¦ · Sergey Sergey's team Create a design All your designs Shared with you Team members Your brand Team stream Find templates plore 2.0 Ad](https://reader033.fdocuments.us/reader033/viewer/2022042220/5ec5df814e0d9f1732175b68/html5/thumbnails/27.jpg)
![Page 28: Distributed tracing - Know your enemy€¦ · Sergey Sergey's team Create a design All your designs Shared with you Team members Your brand Team stream Find templates plore 2.0 Ad](https://reader033.fdocuments.us/reader033/viewer/2022042220/5ec5df814e0d9f1732175b68/html5/thumbnails/28.jpg)
Propagation
![Page 29: Distributed tracing - Know your enemy€¦ · Sergey Sergey's team Create a design All your designs Shared with you Team members Your brand Team stream Find templates plore 2.0 Ad](https://reader033.fdocuments.us/reader033/viewer/2022042220/5ec5df814e0d9f1732175b68/html5/thumbnails/29.jpg)
Propagation
![Page 30: Distributed tracing - Know your enemy€¦ · Sergey Sergey's team Create a design All your designs Shared with you Team members Your brand Team stream Find templates plore 2.0 Ad](https://reader033.fdocuments.us/reader033/viewer/2022042220/5ec5df814e0d9f1732175b68/html5/thumbnails/30.jpg)
Propagation
![Page 31: Distributed tracing - Know your enemy€¦ · Sergey Sergey's team Create a design All your designs Shared with you Team members Your brand Team stream Find templates plore 2.0 Ad](https://reader033.fdocuments.us/reader033/viewer/2022042220/5ec5df814e0d9f1732175b68/html5/thumbnails/31.jpg)
Propagation
![Page 32: Distributed tracing - Know your enemy€¦ · Sergey Sergey's team Create a design All your designs Shared with you Team members Your brand Team stream Find templates plore 2.0 Ad](https://reader033.fdocuments.us/reader033/viewer/2022042220/5ec5df814e0d9f1732175b68/html5/thumbnails/32.jpg)
![Page 33: Distributed tracing - Know your enemy€¦ · Sergey Sergey's team Create a design All your designs Shared with you Team members Your brand Team stream Find templates plore 2.0 Ad](https://reader033.fdocuments.us/reader033/viewer/2022042220/5ec5df814e0d9f1732175b68/html5/thumbnails/33.jpg)
![Page 34: Distributed tracing - Know your enemy€¦ · Sergey Sergey's team Create a design All your designs Shared with you Team members Your brand Team stream Find templates plore 2.0 Ad](https://reader033.fdocuments.us/reader033/viewer/2022042220/5ec5df814e0d9f1732175b68/html5/thumbnails/34.jpg)
![Page 35: Distributed tracing - Know your enemy€¦ · Sergey Sergey's team Create a design All your designs Shared with you Team members Your brand Team stream Find templates plore 2.0 Ad](https://reader033.fdocuments.us/reader033/viewer/2022042220/5ec5df814e0d9f1732175b68/html5/thumbnails/35.jpg)
![Page 36: Distributed tracing - Know your enemy€¦ · Sergey Sergey's team Create a design All your designs Shared with you Team members Your brand Team stream Find templates plore 2.0 Ad](https://reader033.fdocuments.us/reader033/viewer/2022042220/5ec5df814e0d9f1732175b68/html5/thumbnails/36.jpg)
CaveatsClock skewDon't blindly trust the dataOpentracing abstraction is sometimes leaky Not all popular libraries support tracingInjecting tracers might be tricky
![Page 37: Distributed tracing - Know your enemy€¦ · Sergey Sergey's team Create a design All your designs Shared with you Team members Your brand Team stream Find templates plore 2.0 Ad](https://reader033.fdocuments.us/reader033/viewer/2022042220/5ec5df814e0d9f1732175b68/html5/thumbnails/37.jpg)
WinsDiscovering N+1 issuesGreater observabilitySampling rate
![Page 38: Distributed tracing - Know your enemy€¦ · Sergey Sergey's team Create a design All your designs Shared with you Team members Your brand Team stream Find templates plore 2.0 Ad](https://reader033.fdocuments.us/reader033/viewer/2022042220/5ec5df814e0d9f1732175b68/html5/thumbnails/38.jpg)
![Page 39: Distributed tracing - Know your enemy€¦ · Sergey Sergey's team Create a design All your designs Shared with you Team members Your brand Team stream Find templates plore 2.0 Ad](https://reader033.fdocuments.us/reader033/viewer/2022042220/5ec5df814e0d9f1732175b68/html5/thumbnails/39.jpg)
ReferencesDapper - https://ai.google/research/pubs/pub36356The mystery machine - https://research.fb.com/publications/the-mystery-machine-end-to-end-performance-analysis-of-large-scale-internet-services/Canopy - https://research.fb.com/publications/canopy-end-to-end-performance-tracing-at-scale/Zipkin - https://zipkin.io/OpenTracing - http://opentracing.io/AWS NTP - https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/set-time.html