Skip to content
StackDecode
System Design
11. Microservices Architecture17. Observability and MonitoringAnimated

Centralised Logging

Collecting all logs in one place.

The idea

Agents ship logs from every instance to a searchable store.

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 structured logs
  2. 2Agents collect them
  3. 3They are shipped to storage
  4. 4You search and alert

Where it is used

Debugging distributed systems.

Watch out for

Costs grow with volume. Do not log secrets.

Related