Skip to content
tezvyn:
Menu

SLOs Tied to User Journeys, Not APIs

MediumHow cards are made

A user-journey SLO measures the full flow a person experiences, not one microservice's health. If checkout is 99.9% up but payments fail, the metric lied. Teams drown in green per-service dashboards while users are furious.

Why it exists

Traditional infrastructure monitoring treats every server, pod, and API endpoint as an independent island of health. A site reliability engineer can page through dashboards where every microservice is green yet the business is hemorrhaging users because the critical path between click and confirmation is broken. User journey based SLOs were created to close that gap by asking one question first: can the user actually complete the task they came here to do?

The mental model

Think of your system as a highway with dozens of on-ramps, bridges, and toll booths. Measuring each bridge's structural integrity is useful for maintenance, but a driver only cares if the route from origin to destination is open and fast. A user journey SLO is a GPS route check, not a bridge inspection report. It forces you to define reliability from the driver's seat.

How it works

You start by identifying the critical flows users actually perform, such as sign up, search, add to cart, and pay. For each flow you define a measurable outcome and a threshold, for example 99 percent of checkouts must complete within 2 seconds and without a fatal error over a 30 day window. You then instrument the entry and exit points of that flow, often using distributed tracing, real user monitoring, or synthetic probes that simulate the full sequence. The error budget is consumed only when the overall journey fails or slows, not when an internal health check flickers.

When to use it

Use this approach when user-facing reliability is more important than internal component uptime. It is essential during incident response to stop chasing noisy alerts from downstream services that do not impact the experience. It also helps product and engineering align on tradeoffs because the SLO is phrased in the language of the user story rather than CPU cores.

When not to use it

Do not discard component-level SLOs entirely. Deep subsystem metrics are still required for root cause analysis and capacity planning. If you only monitor the journey, you may detect that checkout is broken but have no signal about which database shard or third party API is the culprit. You need both lenses.

One canonical example

A retail platform noticed that their payment service showed 99.95% availability and their cart service showed 99.97%, but conversion had dropped. By shifting to a user journey SLO defined as complete checkout from cart to confirmation in under three seconds, they discovered that a slow fraud-check API was timing out after the payment service had already returned success. The user saw a spinner and abandoned. The journey SLO caught the leak that per-service metrics missed.

Interview question

Why does the card argue that user-journey SLOs should not fully replace component-level SLOs?

  • a.Journey SLOs reveal that a flow is broken but may not identify the failing subsystem.Correct
  • b.Per-service metrics should be discarded once journey SLOs are fully instrumented.
  • c.Component SLOs detect user-facing outages earlier than journey SLOs can.
  • d.Component metrics are needed to calculate the journey-level error budget.
Why?

The card warns that journey SLOs alone detect a broken checkout but give no signal about which database shard or API is the culprit, so component metrics remain vital for root cause analysis. Distractor D is wrong because the card explicitly says not to discard component-level SLOs entirely, since deep subsystem metrics are still required for root cause analysis and capacity planning.

Just read this? Test yourself on what you have been reading.

Put your scrolling time to good use

Learn one idea, try a quiz and save useful cards for revision. Tezvyn makes it easy to learn and stay current in your tech field, a few minutes at a time.

The iPhone app is on the way

We are building it. Until it lands, nothing here is held back from you: every interview card, your saved cards, streaks and the job board all work in Safari, plus hundreds of free practice quizzes of thirty questions each. Sign in and it all carries over to the app the day it arrives.

Want it as an icon? Tap Share at the bottom of Safari, then Add to Home Screen. It opens full screen and the cards you have read stay available offline.

Get it on Google PlayiPhone app coming soon

We are hiring for this. Open roles that interview on sre — each one lists the topics its interview covers.

See open roles