Skip to content
StackDecode
System Design
17. Observability and MonitoringAnimated

Request Tracing

Following one request through the system.

The idea

Spans show each step's duration and where time was spent.

Watch it work

Press play, pause, or step through. Some animations have settings you can change.

AppsCollectorMetrics (Promet…Logs (Loki)Traces (Tempo)Dashboards
  • client
  • gateway / proxy
  • service
  • cache
  • data store
  • queue / stream

Apps emit metrics, logs and traces.

step:
1/4
at:
Apps
1/9

The green dot is a request moving through the system.

Step by step

  1. 1Start a trace at the entry
  2. 2Propagate the context
  3. 3Record spans
  4. 4Visualise the timeline

Where it is used

Latency debugging.

Watch out for

Sampling may miss the rare slow request.

Related