Skip to content

Course

Advanced Observability & Tracing

Distributed tracing, eBPF instrumentation, production profiling, cardinality control, SLO arithmetic, and debugging the latency tail.

13 lessons

Course Q&A

Keep reading

Related articles from the SudoSecurity blog.

Reviews

Enrolled members can rate this course.

No reviews yet.

Tracing a Request End to End

What spans actually carry, how sampling decides what survives, and why the collector owns the pipeline.

  1. 01What a Span Actually CarriesThe W3C trace context on the wire, span kinds that survive queues, and why a correlation ID in your logs isn't a trace.14mOpen
  2. 02Head Sampling Throws Away the Traces You WantedDeciding at the root drops the rare errors you needed; collector tail sampling keeps them at a memory cost.13mOpen
  3. 03The Collector Owns the PipelineOTLP receivers, memory_limiter-first pipelines, gateway routing by trace ID, and redaction as a pipeline stage.13mOpen

eBPF and Production Profiling

Kernel-level instrumentation with honest overhead accounting, USDT and uprobes, and continuous profiling that costs single digits.

  1. 01eBPF Is a Verifier, Not MagicWhat the verifier actually proves, why CO-RE survives kernel upgrades, and the per-hit cost nobody budgets for.14mOpen
  2. 02Profiling in Production at 99 HzFrame pointers versus DWARF unwinding, why 99 not 100 Hz, flame graph mechanics, and the off-CPU axis.15mOpen
  3. 03USDT and Uprobes: Reading a Binary You Didn't WriteCompiled-in NOP probes versus breakpoint uprobes, per-hit overhead math, and the plaintext your TLS uprobes see.12mOpen

Metrics That Don't Lie

Labels as database rows, histograms versus summaries, and aggregates computed at ingest instead of read.

  1. 01A Label Is a Database RowEvery unique labelset mints a series held in RAM, and http.route is the fix for path-shaped cardinality explosions.13mOpen
  2. 02A Summary Can't Be AveragedClient-side quantiles never aggregate; bucket counters do — and histogram_quantile is only as honest as your le boundaries.12mOpen
  3. 03The Dashboard Is a Query, Not a FileRecording rules move aggregation to ingest time, exemplars link a datapoint to its trace, and federation is the old way up.11mOpen

SLO Math and the Tail

Error budgets and burn rates, why fan-out makes the tail the median, honest load testing, and the triage order that works at 02:00.

  1. 01Error Budget Is Arithmetic, Not a MoodSLI event ratios, burn rate as the only alertable number, and the multiwindow alerts that page when the math says so.15mOpen
  2. 02Fan-Out Turns Your p99 into the MedianDean and Barroso's 63.4% math, hedged requests that collapse the tail, and why instant retries become storms.13mOpen
  3. 03Your Load Test Coordinates Its Own OmissionClosed generators censor the stall you're trying to measure; open-model arrival rates and HdrHistogram tell the truth.12mOpen
  4. 04USE the Machine Before You Trace the RequestUtilization, saturation, errors first; RED at the service boundary; then the trace's self-time, then the profiler.11mOpen