{"canonical_url":"https://engineer.company/glossary/service-level-indicator/","content_markdown":"# Service-level indicator\n\n## What it is\n\nA service-level indicator is a measured signal that describes how a service is\nperforming for a defined use. It can report the share of requests that succeed,\nthe share that complete within a deadline or the age of data visible to users.\nThe indicator says what was measured and how it was calculated. A service-level\nobjective then expresses the target the organisation chooses for that indicator\nover an agreed period.\n\nA common definition counts good events and divides them by all eligible events.\nAn eligible event might be a complete request for an existing document. A good\nevent could be a successful transfer that began within a stated time. Define\neligibility and success before choosing the measurement point. The same request\ncan look successful in an internal handler and fail in the public route if its\nresponse never reaches the client.\n\nSome indicators measure a condition at regular intervals. A publication pipeline\ncould measure the age of its latest usable dataset at scheduled intervals.\nWhichever approach is used, describe the observation, the units and the\ncoverage. Users and operators should be able to tell whether a value is a\ncomplete result, an estimate based on a sample or a result with part of its\ninput missing.\n\n## Why it matters\n\nAvailability and response time can mean several things across one product. A\nservice can accept connections and still fail every request for an important\nreport. A dashboard can send responses quickly while showing old data. An\nindicator connects an operational measurement to an actual experience. That\ngives a team a clearer reason to act on change than a generic health status.\n\nThe denominator shapes what a ratio means. If a service receives a thousand\neligible requests and 990 succeed, the indicator is 99 percent for that period.\nExcluding a heavily affected region can produce a different ratio even when\nevery counted request is measured correctly. Decide which traffic matters and\ndescribe the exclusions. Handle synthetic traffic, known test clients and user\ncancellations according to the question the team intends to answer.\n\nA useful signal gives feedback as a response changes. After a release, an\naggregate can reveal whether a regression affected many users. A breakdown can\nhelp identify which routes, locations or versions contributed. The service\ndefinition still needs a stable calculation so the aggregate can be compared\nbetween releases. Choose diagnostic dimensions that help investigation without\nquietly changing which users count.\n\n## What it looks like in practice\n\nImagine a service that accepts document requests and records a stable operation\nidentifier. Define an indicator for whether it produces a readable document\nbefore its deadline. Record accepted requests and completion results at the\nboundary that can actually verify the output. For a representative test, include\na correct result, a result that arrives late and an operation whose state could\nnot be observed. Decide how each should appear in the count.\n\nThe same team might need a different indicator for latency in ordinary\ninteractive requests. Record the request boundary and the latency threshold,\nthen count the share of eligible requests that finish within it. A retry raises\na question about the unit of measurement. If a person starts one product action\nthat makes several attempts, define whether the indicator measures attempts or\nthe user's completed action. Both observations can be useful.\n\nEngineer's\n[first-party monitoring and tracing case study](/portfolio/built-first-party-error-monitoring-and-tracing/)\ndocuments traces across product components, latency data and operator views that\ninclude service-level objectives. That is a concrete context for deciding which\nobservations a reliability indicator uses. Keep an explicit definition of the\nevent, and confirm that an operator can connect an unusual result to an example\nrequest without assuming that the diagnostic trace is the full population.\n\nChoose the observation window with the service's usage in mind. A low-traffic\nroute may need a longer window before its ratio becomes useful. Show the number\nof events alongside the result so a reader can distinguish a single failure\namong a few requests from a wider incident. When there was no observed traffic,\npublish that fact and retain the ability to check the measurement path\nindependently.\n\n## Where it goes wrong\n\nA common error is defining the indicator around data that is easy to collect\nwhile the important failures happen before collection. Measure at the first\nboundary that observes the user-visible outcome and check what happens when\ntelemetry stops arriving. A broken measurement path can otherwise make a graph\nlook quiet during the period when evidence matters most.\n\nDo not average already-computed percentages across groups when groups have\ndifferent numbers of events. Add the good and eligible counts over the intended\npopulation, or explicitly choose a different weighting that reflects the goal. A\nbreakdown can help an operator diagnose unequal experience among groups. Explain\nhow it relates to the top-level indicator.\n\nCheck how readers see a restart that divides the measurement interval. A reset\ncounter or a gap in collection can affect both sides of a ratio. Persist enough\ninformation to determine which period was measured, and record a gap where the\ncount cannot be established. Make the indicator's reporting window explicit on\nits graph and in an incident record. That gives people a way to reproduce an\nalert even when the live graph has already moved on.\n\nFinally, test the indicator just as you test the service. Run a known successful\noperation, a failure and a period with no valid observation. Confirm which event\nthe service records and how the calculation represents it. Maintain the\ndefinition when client behaviour, product boundaries or data collection change.\nA trustworthy indicator gives an understandable account of what happened and an\nhonest account of what the data could establish.\n\n## Further reading\n\n- [Google SRE guidance on implementing SLOs](https://sre.google/workbook/implementing-slos/).\n  Explains how to choose and measure indicators from a user's perspective.\n- [The Google SRE chapter on service-level objectives](https://sre.google/sre-book/service-level-objectives/).\n  Describes common reliability measurements and targets.\n- [Google Cloud service-level indicator metrics](https://cloud.google.com/stackdriver/docs/solutions/slo-monitoring/sli-metrics/overview).\n  Gives examples of good-event and total-event calculations.\n\n\u003chttps://engineer.company/glossary/service-level-indicator/\u003e\n","date_modified":"2026-11-25T07:18:46Z","description":"Choose eligible and good events, a reporting window and a way to record missing measurements of service behaviour.","formats":{"gemtext":"https://engineer.company/glossary/service-level-indicator/index.gmi","gopher":"https://engineer.company/glossary/service-level-indicator/gophermap","html":"https://engineer.company/glossary/service-level-indicator/","json":"https://engineer.company/glossary/service-level-indicator/index.json","markdown":"https://engineer.company/glossary/service-level-indicator/index.md","pdf":"https://engineer.company/glossary/service-level-indicator/index.pdf"},"kind":"page","language":"en","title":"What is a service-level indicator?","url":"https://engineer.company/glossary/service-level-indicator/","version":1}