Part 11 / Topic 1 of 7
Logs, metrics and traces
Three instruments, three questions:
- Logs answer what happened — one event at a time, with fields (your Part 2 JSON logs). "Request 9f3a got a 503 from the Acme API at 02:13."
- Metrics answer how much, how fast, how often — cheap numbers over time. Requests per second, error rate, p95 latency.
- Traces answer where did the time go — one request's journey across services, each hop timed.
The order of investment on an engagement: logs first (you already have them), metrics on the handful of numbers that matter, traces when the architecture has enough hops to get lost in. All three get better when they share the correlation ID from lesson 5.
Done here? The practice set for Part 11 — 4 exercises with solutions — is on the part page.