Skip to content
StackDecode
System Design
17. Observability and MonitoringAnimated

Log Aggregation

Collecting logs from all sources.

The idea

Agents forward logs to a central, searchable system.

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. 1Services write logs
  2. 2Agents collect them
  3. 3Ship to the store
  4. 4Search and alert

Where it is used

Distributed debugging.

Watch out for

Volume and cost.

Related