Skip to content
SD-41 · DISTRIBUTED TRACING · INTERACTIVE

Break it.
Then fix it.

Turn up the span firehose, watch what melts, and add the parts a real tracing system needs. Every switch is a decision you would defend in an interview.

CHALLENGETake in 50M spans/s with no drops, keep 100% of error traces, and keep dashboards accurate.
StatusDOWNAt 5M spans/s
Error traces kept100%Every failing request findable
Spans dropped46.7%Data lost under load
Spans stored250K/sAbout 5% of all spans
Services + SDKLIVE
Every span recorded
5.0M spans/s
Collectors × 60OK
Routed by trace id, 30 s buffer
5.0M / 18M spans/s
Span metricsOK
Rate, errors, latency
from 5.0M spans/s
Search clusterDOWN
Every field indexed
375K / 200K spans/s
Bursts are hitting storage directly. Deploys and incidents make traffic spike 1.5×, and storage must take every peak or drop it. Put a stream between collectors and storage so writers drain at a steady rate.
5%Spans keptEvery error and slow trace, plus 1% of healthy ones.
30 sTail decision windowEach collector holds a trace’s spans in memory until it is complete.
100%Spans counted for metricsRates and latency come from every span, before sampling, so they are exact.
10%Errors kept by head samplingDeciding at the first service is cheap but blind to what happens later.
Want the reasoning behind every switch?Visual walkthroughFull write-up
Was this lab useful?Your vote tells us what to improve next.