Step 5 of 36 · Objectives
Measuring from the user's side
Choose a few indicators that track what users experience, measured as close to them as you can get.
Most dashboards answer whether the machines are healthy. Users ask a different question: did my request work, and was it fast enough? A service can show green on every host while checkout fails for everyone on one mobile version.
Pick indicators from the user's side. For each important thing a user does, define a good event and a valid event, and track the ratio. Availability and latency cover most request-driven services. Pipelines need freshness and correctness. Measure at the edge or the client where you can, because server-side numbers miss requests that never arrived.
Keep the list short. Three or four indicators per service that people trust beat forty that nobody reads. You are choosing what the organisation pays attention to.
Try this week
- For one critical service, list the top three things users do and write a good-event and valid-event definition for each.
- Compare one indicator measured at the server with the same thing measured at the load balancer or client, and explain the gap.
Signs you've got it
- When your indicators look healthy the support queue is quiet, and when they dip support sees it too.
- A product manager can read the service's indicators without an engineer translating.
Resources
- bookImplementing SLOs (The Site Reliability Workbook) (opens in a new tab)Steven Thurgood and David Ferguson
- guideThe Art of SLOs (opens in a new tab)Google Customer Reliability Engineering
- paperMeaningful Availability (opens in a new tab)Tamás Hauer and colleagues
- bookService Level Objectives (Site Reliability Engineering) (opens in a new tab)Chris Jones, John Wilkes and Niall Murphy