Modern QA2026The Three Pillars Compared — tiles
Log inJoin
36 / 67 · 06 Observability-Driven Testing · Metrics and Alerting← prev⊞ allnext →☰ Read as one page

6.2The Three Pillars Compared

Pillar What It Captures Best For Cardinality Storage Cost
Logs Discrete events with context Debugging specific incidents High (one per event) High
Metrics Aggregated numerical measurements Alerting, dashboards, trends Low (pre-aggregated) Low
Traces Request flow across services Understanding distributed behavior Medium (sampled) Medium

Metrics are the first line of defense: they tell you something is wrong. Traces tell you where. Logs tell you why.