Observability
Metrics, logs, traces and SLOs in depth.
How to see what a running system is doing and why: metrics and their types, percentiles and histograms, cardinality, the golden signals, structured logs and log pipelines, distributed tracing and sampling, profiling, OpenTelemetry, service level objectives and error budgets, alerting, dashboards, incident response, postmortems and the cost of it all. Vendor-neutral: OpenTelemetry, Prometheus, Grafana, Loki, Tempo, Jaeger and Elastic alongside Datadog, New Relic, Honeycomb, Splunk and the clouds' own tools. By the end you can instrument a service, set sensible targets and find out why it's slow at 3 a.m.
- 5
- chapters
- 21
- modules
- ~8h
- of learning
- 21
- live now
Take modules in any order. The route suggests one that builds up naturally.
has a live module in progress complete
Take a look inside
The big picture, before the details
Telemetry from a payments platform, from the services that emit it to the person who gets paged. Watch the tour, or click any part.
Instrumented services: every service emits telemetry through OpenTelemetry, so one request can be followed end to end (modules 1–3).
A taste of module 15: three alert rules over the same week. Which one wakes people only for real problems?
38 pages · 36 false alarms · slow burn caught · outage caught
Illustrative week, hourly error rate on a log scale; slow burn on day 3, outage on day 6.
The big picture
Why seeing inside a system matters, and where the data comes from.
3 modules · 65 min
Beginner
Why observability
From 'is it up?' to 'why is it slow for these users?'.
Beginner
Metrics, logs and traces
Three kinds of telemetry, what each is good for and what each costs.
Core
Instrumentation and OpenTelemetry
Getting telemetry out of code: auto and manual instrumentation, the SDK, the Collector.
Metrics
Counting, measuring and summarising, cheaply and correctly.
4 modules · 90 min
Core
Counters, gauges and histograms
The metric types, rates, and how Prometheus collects them.
Core
Averages lie: percentiles
p50, p95, p99, why the tail matters and why you can't average percentiles.
Core
Labels and cardinality
Why one innocent label can multiply your metrics bill a thousand times.
Core
The golden signals
Latency, traffic, errors, saturation; RED for services, USE for resources.
Logs and traces
Detailed records of events, and of requests crossing services.
5 modules · 110 min
Core
Structured logs
Logs a machine can query: fields, levels, correlation IDs, and what never to log.
Core
Log pipelines and storage
Collecting, parsing, indexing and keeping logs without going broke.
Core
Distributed tracing
Spans, trace IDs, context propagation and reading a waterfall.
Deep dive
Sampling traces
Head and tail sampling, keeping the interesting traces and linking them to metrics.
Deep dive
Continuous profiling
Flame graphs: which lines of code burn the CPU and memory.
Reliability targets
Decide how reliable is reliable enough, and act on it.
4 modules · 90 min
Core
SLIs and SLOs
Measure what users feel, and set a target that isn't 100%.
Core
Error budgets
The unreliability you can afford, and what to do when it runs out.
Core
Alerting that works
Page on symptoms, use burn rates, and stop alert fatigue.
Applied
Dashboards that answer questions
From walls of graphs to dashboards built for a purpose.
Operating
Incidents, learning from them, and paying for it all.
5 modules · 130 min
Applied
Debugging with telemetry
From an alert to a cause: metrics, then traces, then logs.
Core
Incident response
Roles, communication and calm when production is on fire.
Core
Blameless postmortems
Learning from incidents without blaming people.
Applied
Observability platforms and cost
Open-source stacks and vendors compared, and how to keep the bill in check.
Applied
Capstone: observing a payments platform
Instrument it and set its targets, then see what you'd catch.