Skip to content

One measurement of "working", shared by every target and promise

Save an SLI from uptime checks or APM requests, name it, and see the share of good events over the last hour, day, week and month. SLOs and customer SLAs built on it all measure the same thing, and change together when it changes.

4 min read8 sectionsUpdated

On this page

The problem: three teams, three numbers

The status page says 99.98 percent. The engineering dashboard says 99.91. The customer success report says 99.7. Each was computed from a slightly different query, a different set of monitors, or a different idea of what counts as "down", and the meeting is spent arguing about which one is right.

A service level indicator settles that once. It is the definition of a good event, written down: "a check of the checkout monitors that passed", or "a request to payments-api answered within 500 ms". Everything that reports on reliability reads from it.

Who uses saved SLIs

  • SRE and platform teams define the indicators once per service, so every SLO uses the same measurement.
  • Service owners open an SLI to see how the service did in the last hour or the last month, with no target to argue about.
  • Account and success teams build customer SLAs on the same SLI the engineers watch, so the report a customer gets matches the dashboard.
  • Leadership reads the 30-day value without needing to know which monitors or traces sit behind it.

Viewing SLIs needs slo.read, which every role has. Creating and editing needs slo.manage, the same permissions as SLOs.

What an SLI can measure

The same three sources as an SLO, all computed from data VitalRix already collects. Nothing new needs instrumenting.

SourceA good event isYou choose
Monitor uptimeA check that passed.One or more monitors, up to 50. Their checks count together.
APM latencyA request answered within a threshold.An APM service, an optional environment, and a threshold from the latency histogram bounds (1 ms to 60 s), so the count is exact.
APM errorsA request that did not fail.An APM service and an optional environment.

What you get

  • Four windows at a glance

    Every SLI shows its value over the last hour, 24 hours, 7 days and 30 days, with the number of good and total events for 30 days. Re-evaluated every few minutes.

  • Hourly history

    A chart of the last hour's value at every evaluation over the last 7 days, so a dip at 3 a.m. is easy to find.

  • SLOs that follow it

    In the SLO form, choose the saved SLI under Measure with. The SLO follows it: edit the SLI and every SLO on it is re-evaluated straight away.

  • Customer SLAs on the same number

    Every SLA is measured on a saved SLI, so the report a customer receives counts exactly what your engineers watch.

  • Safe to change

    An SLI that an SLO or SLA uses cannot be deleted, and the message names what uses it. Closed SLA periods keep the figures they reported.

Save an SLI step by step

You need the slo.manage permission. The labels match the Monitor app: SLIs, then New SLI.

  1. Choose what to measure. Under 1. What to measure, pick Monitor uptime, APM latency or APM errors, then the monitors, or the service, environment and threshold.
  2. Name it. Under 2. Name it, enter a name such as Checkout availability, an optional description, and the application it belongs to.
  3. Read the first numbers. Save. The SLI is evaluated straight away and then every few minutes; the four windows fill in as data arrives.
  4. Build on it. On the SLI page, use + SLO for an internal target with an error budget, or + SLA for a promise to a customer.

Questions

What is the difference between an SLI, an SLO and an SLA?

The SLI is the measurement (the share of good events). The SLO is your internal target on it over a rolling window, with an error budget and burn-rate alerts. The SLA is the promise to a customer for each calendar month or quarter, with service credits when it is missed.

Do I have to save SLIs to use SLOs?

No. An SLO can still define its own SLI. Save one when several SLOs or SLAs should measure the same thing.

How many SLIs can I save?

5 on Free, 200 on Pro and 2,000 on Enterprise, set by the Incidents & status pages plan.

Can I use a custom metric as an SLI?

Not today. The sources are monitor uptime, APM latency and APM errors.

Check it now, free

  • SLOs and error budgets: Set SLOs on monitor uptime, APM latency or error rate. Track compliance and error budget, and get multi-window burn-rate alerts before you miss the target.
  • What is metric cardinality?: High-cardinality metrics explained: how labels multiply time series, why it hurts cost and performance, examples of bad labels and how to keep detail in traces.
  • The RED method: The RED method explained: rate, errors and duration for every service, how to compute each from traces, a dashboard layout and the alerts worth setting.
  • What is site reliability engineering (SRE)?: Site reliability engineering explained: SLOs and error budgets, toil reduction, on-call, incident response and how SRE relates to DevOps and platform teams.
  • Azure monitoring for applications: Monitor applications on Azure: App Service, AKS and Azure SQL metrics that matter, collecting Azure Monitor metrics with the OpenTelemetry Collector.
  • How to monitor Heroku: How to monitor apps on Heroku: H12 timeouts and other router errors, dyno memory (R14), response time, Postgres and Redis add-ons, uptime checks and alerts.

Agree on what "working" means

Save your first SLI in a minute from monitors you already have.