LogoMasst Docs

Observability

Understanding observability for system design interviews.

Overview

Observability is the ability to understand a system's internal state from its external outputs. The three pillars of observability are metrics, logs, and traces.


Topics


The Three Pillars

┌─────────────────────────────────────────────────────────┐
│                    Observability                         │
├──────────────────┬──────────────────┬───────────────────┤
│      Logs        │     Metrics      │     Traces        │
│  (What happened) │  (How much)      │  (Request flow)   │
├──────────────────┼──────────────────┼───────────────────┤
│  Events          │  Counters        │  Spans            │
│  Errors          │  Gauges          │  Context          │
│  Debug info      │  Histograms      │  Latency          │
└──────────────────┴──────────────────┴───────────────────┘

Why Observability Matters

BenefitDescription
DebuggingFind root cause of issues
PerformanceIdentify bottlenecks
ReliabilityDetect and alert on failures
CapacityPlan for growth
BusinessTrack KPIs and SLOs