Week 4: Distributed Tracing — OpenTelemetry + Jaeger

Theme: Instrument distributed traces, understand context propagation, visualize with Jaeger.

Learning Objectives

  1. Explain distributed tracing concepts (trace, span, span context, baggage)
  2. Instrument Go and Python services with OpenTelemetry SDK
  3. Configure context propagation (W3C Trace Context)
  4. Visualize traces in Jaeger UI, identify performance bottlenecks

Reading Materials

Finger Exercises (choose 2)

  1. Deploy Jaeger all-in-one to kind. Verify the UI.
  2. Add OpenTelemetry instrumentation to the Go app: create spans for each handler, add attributes (endpoint, method).
  3. Set up the OpenTelemetry Collector to receive traces and forward to Jaeger.

Project

Time Budget

ActivityTime
Reading1.5 hrs
Finger exercises1.5 hrs
Project3 hrs
Total6 hrs