Mid-level Track Roadmap

DevOps: distributed tracing

This course covers distributed tracing for a Rails application using OpenTelemetry. It explains how a trace breaks one request into nested, timed spans, and how context crosses process boundaries through the W3C traceparent header. It shows automatic and manual instrumentation, head and tail sampling, and the role of the OpenTelemetry Collector. It teaches how to read a waterfall through self time and shapes such as N+1 staircases and gaps. It ends by connecting metrics, traces and logs through trace_id and applying the full setup to a slow page.

What you'll learn

  • ✓How spans, traces and the traceparent header fit together
  • ✓Instrumenting Rails with the OpenTelemetry SDK and manual spans
  • ✓Carrying trace context into background jobs
  • ✓Head sampling, tail sampling and the OpenTelemetry Collector
  • ✓Reading a waterfall through self time and recognizable shapes
  • ✓Connecting metrics, traces and logs through trace_id
Free preview · Lesson 1 5 min read

Logs say what happened; traces say where the time went

The previous course ended with structured, correlated logs. They answer what happened, in what order, to whom. Here is what they do not answer.

Read the full lesson free →

Curriculum

7 lessons
Type to start searching...