All labs
Lab 58
Observability

Distributed Tracing — The Waterfall

A slow request crosses API Gateway → Auth → Appointment → Payment → Notification. Render the span waterfall and spot the culprit instantly. Inject latency into any service and watch the waterfall shift to point at it.

One booking request flows through five services. Inject latency into any of them and watch the trace waterfall shift to point at the slow one.
Slow service
+7.70s
Trace waterfall · trace_id 7f3a91total 8.02s
API Gateway
30ms
Auth
50ms
Appointment
80ms
Payment
7.82s
Notification
40ms
time →
🧵 Slowest span: Payment at 7.82s98% of the whole request. The trace points right at it.
What just happened