Upgrade to Pro — share decks privately, control downloads, hide ads and more …

Distributed Tracing with Jaeger on Kubernetes

Distributed Tracing with Jaeger on Kubernetes

Posedio

May 17, 2023
Tweet

More Decks by Posedio

Other Decks in Programming

Transcript

  1. Distributed Tracing with Jaeger on Kubernetes Onur Kasimlar, Lead Cloud

    Engineer at Posedio VldgWebDev Meetup 17.05.2023
  2. 2 POSEDIO GMBH Company founded: • 2020 Locations: • Vienna

    • Vorarlberg Co-workers: • 17 Cloud experts
  3. 3 SERVICES Cloud Platform Cloud-Native Consulting Data Platform Application Modernization

    Multicloud FinOps Automated self- service Platform Data Governance Big Data Data Accessibility Security and Governance Scalability & Cost optimization DevOps Security Review Cloud readiness Review Architecture Review
  4. 9 CHALLENGE DISTRIBUTED TRACING What makes it difficult to find

    the error? • Error is not logged • Logs are not accessible • Request can’t be tracked • Error != Performance Issue • Where is the bottleneck • …..
  5. 10 CHALLENGE DISTRIBUTED TRACING Solution: Monitoring of Systems • Logs:

    Textual records generated by software applications • Metrics: CPU, Memory, Error rates, … • Alerts: Notifications generated by monitoring systems • Dashboards: visual representation of monitoring data • Traces
  6. 11 CHALLENGE DISTRIBUTED TRACING What is a Trace? • Capture

    execution flow • Request / Transaction path with time • End-to-end visibility
  7. 14 SOLUTION What is a Trace-ID? • Often referred as

    X-Correlation-Id • Unique Identifier assigned to a trace • Correlate and track the flow of a request or transaction • HTTP-Header in case of HTTP-requests
  8. 15 SOLUTION Where/When create a Trace-ID? • ASAP you have

    the possibility • Check Trace-Id available • (y) – use the existing one • (n) – create one and propagate it
  9. 16 SOLUTION Source of error • Every component must stick

    to the rules • Every component = potential single point of failure • Solution: OpenTelemetry / Jaeger
  10. 17 SOLUTION What is OpenTelemetry • Project under Cloud Native

    Foundation (CNCF) • Standardization of telemetry data • Telemetry data: logs, metrics, traces • APIs and SDKs to generate data • A lot of programming languages supported
  11. 18 SOLUTION What is Jaeger • Tool for analyisis of

    storage and visualization of trace data • Uses OpenTelemetry data
  12. 19 SOLUTION How does a Trace look like • A

    trace represents data / execution path through system • Acyclic graph of spans
  13. THANK YOU! POSEDIO GMBH +43 660 8484500 [email protected] Weyringergasse 1-3,

    1040 Wien, Millenium Park 4, 6980 Lustenau www.posedio.com