Mastering Distributed Tracing with Go
summary
Hands-on outline of instrumenting Go microservices with OpenTelemetry showing actual code patterns: gRPC OTLP exporter (insecure for dev), tracer_init + defer shutdown, starting spans for HTTP handlers, DB queries with span attributes for SQL statements, and propagating context via TextMap. Case study on a high‑traffic analytics system records a 30% API speedup after fixing slow queries. Also demonstrates using OpenTelemetry + Go alongside adaptive sampling and GenAI (GPT‑4o / Claude 3.5) to auto‑generate instrumentation and analyze traces.
AI-written summary · about
chapters (13)
- 0:00Introduction to distributed tracing
- 1:04Why distributed tracing in Go
- 3:10Core concepts of tracing
- 7:05Setting up OpenTelemetry in Go
- 10:15Integrating tracing in microservices
- 13:44Managing trace data effectively
- 16:14Case study high-traffic platform
- 19:43Architecture with OpenTelemetry
- 21:50Tracing external API calls
- 23:14Database query tracing
- 24:18Generative AI and tracing
- 27:50Future trends in tracing
- 28:53Practical tips and resources
related talks
34mOpenTelemetry for Dummies: Instrumenting Go Apps
39mEfficient Debugging and Logging with OpenTelemetry in Go
19mInstrumenting Go Apps With OpenTelemetry
42mObservable Applications Using OpenTelemetry
01h 28mUnderstanding Distributed Systems with OpenTelemetry
40mInstrumenting GO Applications
25mTracing Go
29mThe Fundamentals of OpenTelemetry
