Observability & SLOs
See what a running system is doing and define, in numbers, what good enough means.
Metrics tell you that something is wrong, traces show where in the request path, and logs explain why. You need all three, and a correlation id that ties them together across services.
A service level objective turns reliability into a target, such as 99.9% of requests succeed under 300 ms over 30 days. The error budget is what is left: the amount of failure you are allowed. Spending it on risky launches is fine. Running out means the team shifts to reliability work.
Alert on symptoms users feel, such as error rate and latency, rather than on every internal cause. Page for what needs a human now and ticket the rest, otherwise alert fatigue teaches everyone to ignore the pager.
Key points
- Use percentiles, not averages. p99 is where users feel pain.
- An SLO plus an error budget makes reliability a trade you can discuss.
- Alert on user-visible symptoms. Investigate causes with traces and logs.
- Propagate a request id through every hop.
Answer these out loud
- 1Pick an SLI and SLO for a checkout API. What do you alert on and what do you only graph?
- 2Average latency is 80 ms but users complain. Which numbers do you look at next?
Use this from an agent
Any MCP client, including Grok, can read this lesson. See how to connect.
curl https://engineeros-delta.vercel.app/api/v1/topics/observability-and-slos