Observability & OpenTelemetry
Metrics, logs and traces: three questions
Metrics tell you how bad it is, logs tell you what happened, traces tell you where. Three questions, one incident, and which tool answers which.
What is in the lesson
- A real situation where this goes wrong
- How it works, step by step
- A walkthrough with commands you can run
- How it fails in production, and how to tell
- Three quiz questions with explanations
Read this lessonFree. No account needed.
More in Observability & OpenTelemetry
- Prometheus and Grafana: scrape, query, dashboardIntermediate · 5 min
A service exposes metrics that nobody can see. In four steps: scrape them every 15 seconds, check the target is up, query the golden signals, and draw them in Grafana.
- Alerting: alert on symptoms, not causesIntermediate · 5 min
Forty-one pages a week, thirty-one of them for CPU that fixed itself. Alert on what users feel, and let causes live on dashboards.
- CountersBeginner · 5 min
A 'traffic dropped to zero' alert fires after every deploy and clears by itself. The traffic never dropped: the graph is of a counter, and counters start over.
- GaugesBeginner · 5 min
A disk alert fires at 100% full, two minutes after the database stopped writing. A gauge held the whole story: the disk had been filling at 3 GB an hour for days.