Skip to content
StackDecode
System Design
17. Observability and MonitoringAnimated

Root Cause Analysis

Finding the underlying cause of an incident.

The idea

Use timelines, five whys and data to find what truly caused the failure.

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. 1Collect the timeline
  2. 2Ask why repeatedly
  3. 3Identify the contributing causes
  4. 4Fix and prevent

Where it is used

Postmortems.

Watch out for

Blame hides real causes. Keep reviews blameless.

Related