Service-level indicator

What it is

A service-level indicator is a measured signal that describes how a
service is performing for a defined use. It can report the share of
requests that succeed, the share that complete within a deadline or
the age of data visible to users. The indicator says what was
measured and how it was calculated. A service-level objective then
expresses the target the organisation chooses for that indicator
over an agreed period.

A common definition counts good events and divides them by all
eligible events. An eligible event might be a complete request for
an existing document. A good event could be a successful transfer
that began within a stated time. Define eligibility and success
before choosing the measurement point. The same request can look
successful in an internal handler and fail in the public route if
its response never reaches the client.

Some indicators measure a condition at regular intervals. A
publication pipeline could measure the age of its latest usable
dataset at scheduled intervals. Whichever approach is used, describe
the observation, the units and the coverage. Users and operators
should be able to tell whether a value is a complete result, an
estimate based on a sample or a result with part of its input
missing.

Why it matters

Availability and response time can mean several things across one
product. A service can accept connections and still fail every
request for an important report. A dashboard can send responses
quickly while showing old data. An indicator connects an operational
measurement to an actual experience. That gives a team a clearer
reason to act on change than a generic health status.

The denominator shapes what a ratio means. If a service receives a
thousand eligible requests and 990 succeed, the indicator is 99
percent for that period. Excluding a heavily affected region can
produce a different ratio even when every counted request is
measured correctly. Decide which traffic matters and describe the
exclusions. Handle synthetic traffic, known test clients and user
cancellations according to the question the team intends to answer.

A useful signal gives feedback as a response changes. After a
release, an aggregate can reveal whether a regression affected many
users. A breakdown can help identify which routes, locations or
versions contributed. The service definition still needs a stable
calculation so the aggregate can be compared between releases.
Choose diagnostic dimensions that help investigation without quietly
changing which users count.

What it looks like in practice

Imagine a service that accepts document requests and records a
stable operation identifier. Define an indicator for whether it
produces a readable document before its deadline. Record accepted
requests and completion results at the boundary that can actually
verify the output. For a representative test, include a correct
result, a result that arrives late and an operation whose state
could not be observed. Decide how each should appear in the count.

The same team might need a different indicator for latency in
ordinary interactive requests. Record the request boundary and the
latency threshold, then count the share of eligible requests that
finish within it. A retry raises a question about the unit of
measurement. If a person starts one product action that makes
several attempts, define whether the indicator measures attempts or
the user's completed action. Both observations can be useful.

Engineer's first-party monitoring and tracing case study documents
traces across product components, latency data and operator views
that include service-level objectives. That is a concrete context
for deciding which observations a reliability indicator uses. Keep
an explicit definition of the event, and confirm that an operator
can connect an unusual result to an example request without assuming
that the diagnostic trace is the full population.

Choose the observation window with the service's usage in mind. A
low-traffic route may need a longer window before its ratio becomes
useful. Show the number of events alongside the result so a reader
can distinguish a single failure among a few requests from a wider
incident. When there was no observed traffic, publish that fact and
retain the ability to check the measurement path independently.

Where it goes wrong

A common error is defining the indicator around data that is easy to
collect while the important failures happen before collection.
Measure at the first boundary that observes the user-visible outcome
and check what happens when telemetry stops arriving. A broken
measurement path can otherwise make a graph look quiet during the
period when evidence matters most.

Do not average already-computed percentages across groups when
groups have different numbers of events. Add the good and eligible
counts over the intended population, or explicitly choose a
different weighting that reflects the goal. A breakdown can help an
operator diagnose unequal experience among groups. Explain how it
relates to the top-level indicator.

Check how readers see a restart that divides the measurement
interval. A reset counter or a gap in collection can affect both
sides of a ratio. Persist enough information to determine which
period was measured, and record a gap where the count cannot be
established. Make the indicator's reporting window explicit on its
graph and in an incident record. That gives people a way to
reproduce an alert even when the live graph has already moved on.

Finally, test the indicator just as you test the service. Run a
known successful operation, a failure and a period with no valid
observation. Confirm which event the service records and how the
calculation represents it. Maintain the definition when client
behaviour, product boundaries or data collection change. A
trustworthy indicator gives an understandable account of what
happened and an honest account of what the data could establish.

Further reading

  * Google SRE guidance on implementing SLOs. Explains how to choose
and measure indicators from a user's perspective.

  * The Google SRE chapter on service-level objectives. Describes
common reliability measurements and targets.

  * Google Cloud service-level indicator metrics. Gives examples of
good-event and total-event calculations.

hThis page on the web	URL:https://engineer.company/glossary/service-level-indicator/	engineer.company	70
