Skip to content

SLIs

Save a service level indicator once (monitor uptime, API latency or error rate), see its value over the last hour, day, week and month, and reuse it in SLOs and SLAs.

SLIs in brief

A service level indicator (SLI) is a measurement of whether a service is working: the share of good events out of all events. In VitalRix you can save an SLI on its own, give it a name, and reuse it. Every SLO and every SLA built on a saved SLI measures exactly the same thing, and changing the SLI changes all of them at once.

  • SLI: what you measure, for example “checks of the checkout monitors that passed”. No target.
  • SLO: an internal target on an SLI over a rolling window, with an error budget and burn-rate alerts.
  • SLA: the promise to a customer on an SLI for each calendar month or quarter, with service credits when it is missed.

What an SLI can measure

SLI sources
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.

These are the same sources an SLO can define for itself. Nothing new needs instrumenting.

Create an SLI

  1. Open SLIs

    Go to Reliability › SLIs and click New SLI.

  2. Choose what to measure

    Pick Monitor uptime, APM latency or APM errors, then the monitors or the service (and, for latency, Good when answered within).

  3. Name it

    Give it a name such as Checkout availability, an optional description, and optionally an Application, so it shows when that application is selected in the header.

Reading the SLI page

  • Last hour, last 24 hours, last 7 days, last 30 days: the share of good events over each window, with the event counts for 30 days.
  • Hourly value, last 7 days: the last hour's value at every evaluation (every few minutes), so a new SLI shows “Collecting history” at first.
  • Built on this SLI: the SLOs and SLAs that use it, with shortcuts to create one. Re-evaluate recomputes now.

SLOs on a saved SLI

In the SLO form, Measure with lists your saved SLIs. Choose one and the SLO follows it; choose An SLI defined here to give the SLO its own definition. Switching an existing SLO back to its own definition keeps what it measured. From an SLI's page, + SLO opens the form with that SLI chosen. Over the API, send sliId instead of sli; sliId: null detaches.

Plans and permissions

Saved SLIs count against the Incidents & status pages plan: 5 on Free, 200 on Pro, 2,000 on Enterprise (see plans). Viewing needs slo.read (all roles); creating, editing and deleting needs slo.manage, the same permissions as SLOs.

Something unclear or missing? Open VitalRix and use the in-app setup guides, or read Troubleshooting.