Observability
When something goes wrong in production, you cannot look inside. What you have is what the system recorded: a log of events, metrics that count and time them, and traces that follow single requests. This module is about reading that evidence, turning “users are unhappy” into a target you can measure, and deciding what is worth waking someone up for.
You will work with one live lab, an incident lab for a small online shop. It shows the dashboards of each service, a trace of one request, the error budget and the alerts, with one thing wrong at a time, and you name the component that is the cause. There is also a sorting exercise on the three signals, one on symptoms and causes, a short quiz on SLOs, one on error budgets, and a quiz that covers the module.
The lessons
Section titled “The lessons”- Logs, metrics and traces (16 min). Three kinds of telemetry, the question each one answers, and what each one costs as traffic and labels grow.
- Metrics and the four golden signals (20 min). Latency, traffic, errors and saturation, read on an incident to tell slow work from too much work.
- Traces and spans (18 min). How a trace follows one request, how to read its spans, and what a trace shows that a dashboard does not.
- SLIs, SLOs and SLAs (18 min). The measurement, the target and the contract, and how much failure a target allows.
- Error budgets and burn rates (22 min). How fast an incident spends the allowance, and where the page threshold comes from.
- Alerting on symptoms (20 min). Why you page on what users feel, and why a cause alert only finds the failure someone expected.
- Recap and quiz (12 min). The module in one page, a checklist for an observable service, and a quiz.
What you will be able to do
Section titled “What you will be able to do”- Say which of a log, a metric or a trace answers a question, and what each one costs.
- Read a service’s latency, traffic, errors and saturation against its normal values, and tell a slow component from an overloaded one.
- Read a trace as a table of spans, check that it adds up, and find the hop that holds the time or the call that is repeated.
- Write an SLI as good events over valid events, set an SLO, and compute the failed requests and minutes of outage it allows.
- Compute a burn rate and the time left in the budget, and explain why the same incident pages at one target and not at another.
- Choose what to page on, and say why a cause alert is silent about every failure nobody expected.
All the numbers in the lab are illustrative. They are for comparing choices, not for forecasting any real product.
Built by GhaziAlibi.
© ShardCraft. All rights reserved.