Academy · Reliability & Observability

Observability: metrics, logs, traces

At scale you can't SSH in and look around. When something's slow or broken, how do you even find it?

2 min read·8 sections
Open the interactive version → diagrams, practice & more

The problem

At scale you can't SSH in and look around. When something's slow or broken, how do you even find it?

The idea

Instrument everything across three pillars: metrics, logs, and distributed traces.

How it works

Metrics (numbers over time: latency, error rate, saturation) power dashboards and alerts. Logs capture discrete events. Traces follow one request across all services to find the slow hop. Define SLOs and an error budget to decide when to ship vs stabilize.

The tradeoff

Instrumentation costs overhead and storage; too many noisy alerts cause fatigue. Signal over noise is the art.

In the wild

Prometheus + Grafana (metrics), the ELK stack (logs), Jaeger/OpenTelemetry (traces).

Deep dive

Flow

  1. Define the user-facing SLI before picking tools.
  2. Emit RED or USE metrics from every critical service.
  3. Attach a trace ID at ingress and propagate it through calls.
  4. Alert on symptoms users feel, then inspect logs/traces for cause.

Watch for

  • Dashboard count is not observability.
  • A missing trace context breaks the request story.
  • Alert fatigue hides real incidents.

Common trap

Tie each signal to a decision: rollback, scale, page someone, or keep shipping.

Common questions

What problem does Observability: metrics, logs, traces solve?

At scale you can't SSH in and look around. When something's slow or broken, how do you even find it?

How does Observability: metrics, logs, traces work?

Metrics (numbers over time: latency, error rate, saturation) power dashboards and alerts. Logs capture discrete events. Traces follow one request across all services to find the slow hop. Define SLOs and an error budget to decide when to ship vs stabilize.

What are the tradeoffs of Observability: metrics, logs, traces?

Instrumentation costs overhead and storage; too many noisy alerts cause fatigue. Signal over noise is the art.

Where is Observability: metrics, logs, traces used in production?

Prometheus + Grafana (metrics), the ELK stack (logs), Jaeger/OpenTelemetry (traces).

Part of Academy on SystemLore — system design explained with 148 deep topics, interactive diagrams, and a build-it-yourself game. Browse the glossary and "X vs Y" comparisons, or build this one →