Inferensys

Glossary

Service Level Indicator (SLI)

A Service Level Indicator (SLI) is a quantitative, measurable attribute of a service's performance, such as request latency or error rate, used to track compliance with a Service Level Objective (SLO).
Performance engineer optimizing AI latency on laptop, latency charts visible, technical optimization session.
DATA RELIABILITY ENGINEERING

What is a Service Level Indicator (SLI)?

A Service Level Indicator (SLI) is a fundamental metric in Site Reliability Engineering (SRE) and Data Reliability Engineering (DRE) used to quantitatively measure a specific aspect of service performance or data quality.

A Service Level Indicator (SLI) is a quantitative, directly measured metric that tracks a specific aspect of a service's performance or a data product's health over time. Common examples include request latency, error rate, availability, and for data systems, freshness or correctness. An SLI provides the raw, empirical measurement against which a Service Level Objective (SLO)—a target reliability threshold—is evaluated. It is the foundational data point in the SLO-SLI-SLA hierarchy.

Effective SLIs are specific, measurable, and relevant to user experience or business outcomes. In data observability, SLIs are adapted as Data SLIs to monitor pipeline health, measuring attributes like the percentage of records arriving within a defined time window (freshness) or the rate of schema validation failures. Selecting the right SLI is critical, as it defines what "reliability" means for the system and directly informs the error budget, governing the trade-off between innovation and stability.

DATA RELIABILITY ENGINEERING

Key Characteristics of an Effective SLI

A well-defined Service Level Indicator (SLI) is the foundation of any data reliability program. It transforms subjective perceptions of data quality into objective, measurable signals. The following characteristics separate effective SLIs from vague or unactionable metrics.

01

Quantitative and Measurable

An effective SLI is expressed as a numerical value derived from a direct measurement of the system. It avoids subjective terms like "fast" or "good" in favor of precise metrics.

  • Examples: p99 latency < 200ms, error rate < 0.1%, data freshness < 5 minutes.
  • Anti-pattern: "The dashboard should load quickly."
  • Corrected SLI: "The 95th percentile dashboard query latency should be under 2 seconds."
02

Customer-Centric and Relevant

The SLI must measure an aspect of the service that directly impacts the end-user experience or the validity of downstream business decisions. It answers the question: "What does the user care about?"

  • For an API: Request latency and success rate.
  • For a batch data pipeline: Data freshness (when was it last updated?) and data completeness (are all expected records present?).
  • An internal metric like "CPU utilization" is a useful diagnostic tool but is not a user-facing SLI.
03

Simple and Understandable

The definition and calculation of the SLI should be easily understood by engineers, product managers, and business stakeholders. Complexity obscures ownership and hinders effective action.

  • Good: "Percentage of successful HTTP requests (status code < 500)."
  • Overly Complex: "A weighted harmonic mean of successful requests, excluding those from internal health checks, adjusted for regional load-balancer variance."
  • Simplicity ensures the entire team can reason about what the metric means and what actions improve it.
04

Actionable and Controllable

The engineering team responsible for the service must have direct influence over the factors that affect the SLI. If the team cannot improve the metric through code changes, infrastructure tuning, or process improvements, it fails as a useful indicator.

  • Actionable: Pipeline runtime SLI can be improved by optimizing query logic or scaling compute resources.
  • Not Controllable: An SLI based on the uptime of a third-party SaaS provider outside your team's control. This should be covered by a provider's SLA, not your internal SLO.
05

Aligned with Business Objectives

Effective SLIs are not chosen in a technical vacuum. They must be explicitly linked to business outcomes and prioritized accordingly. This alignment justifies investment in reliability work.

  • An e-commerce checkout service requires an ultra-high availability SLI (e.g., 99.99%) because downtime directly loses revenue.
  • An internal analytics batch pipeline might have a stricter freshness SLO (data must be ready by 9 AM GMT) to support daily business reporting, prioritizing timeliness over instantaneous availability.
06

Correlated with User Pain

The SLI should act as a reliable proxy for user dissatisfaction. A dip in the SLI should consistently correspond to a negative user experience. This requires validating that the metric you are tracking is the right signal.

  • Example: For a search service, tracking p95 latency may be a better indicator of general user frustration than average latency, which can be skewed by a few very fast requests.
  • If the SLI is green but users are still complaining, the SLI is measuring the wrong thing and must be re-evaluated.
DATA RELIABILITY ENGINEERING

How SLIs Work in Practice

A Service Level Indicator (SLI) is the foundational measurement for quantifying service reliability. This section explains its practical implementation.

A Service Level Indicator (SLI) is a quantitative, directly measured metric that quantifies a specific aspect of a service's performance, such as request latency, error rate, or throughput. In practice, an SLI is implemented as a continuous measurement from production telemetry, often expressed as a ratio, average, or percentile. For data systems, common Data SLIs include data freshness (latency from event to table), correctness (valid record rate), and completeness (non-null field percentage). The SLI's raw value is the primary input for evaluating compliance with a Service Level Objective (SLO).

Effective SLIs are specific, measurable, and representative of user experience. Engineering teams select a few critical indicators aligned with business outcomes, avoiding vanity metrics. The implementation involves instrumenting data pipelines or services to emit the necessary events, aggregating them over a defined time window, and calculating the final SLI value. This measured value is then compared against the SLO target to determine the error budget consumption, driving operational decisions about prioritizing reliability work versus new feature development.

DATA RELIABILITY ENGINEERING

Common SLI Examples Across Domains

This table illustrates how Service Level Indicators (SLIs) are defined for different types of services, from user-facing applications to internal data pipelines, providing concrete examples of the quantitative measures used to track reliability.

Service DomainCommon SLITypical Measurement MethodExample Target (SLO)

User-Facing Web Service

Request Latency

Percentage of successful HTTP requests served faster than a threshold (e.g., p99 < 200ms)

99% of requests < 200ms

User-Facing Web Service

Availability / Uptime

Percentage of successful HTTP requests (5xx errors are failures)

99.9% availability

User-Facing Web Service

Error Rate

Percentage of HTTP requests resulting in a 5xx server error

< 0.1% error rate

Data Pipeline (Batch)

Freshness / Timeliness

Percentage of pipeline executions completing within the scheduled time window

95% of jobs complete within 15min of schedule

Data Pipeline (Batch)

Data Correctness

Percentage of records passing all defined validation and quality checks

99.5% of records are valid

Data Pipeline (Batch)

Throughput / Completeness

Percentage of expected source records successfully ingested and processed

100% of source records processed

Streaming / Event Processing

End-to-End Latency

Time from event creation at source to availability in the sink (e.g., p95 latency)

p95 latency < 2 seconds

Streaming / Event Processing

Pipeline Lag

Difference between the current time and the timestamp of the most recently processed message

Lag < 30 seconds

Storage Service (Database)

Read Latency

Percentage of read queries served faster than a threshold

p99 read latency < 10ms

Storage Service (Database)

Write Durability

Percentage of acknowledged writes that are successfully persisted

99.99% write durability

Machine Learning API

Prediction Latency

Time from receiving a prediction request to returning a response

p95 latency < 100ms

Machine Learning API

Model Throughput

Number of successful predictions served per second

Sustain 1000 predictions/sec

Internal Platform Service

Job Success Rate

Percentage of platform-managed jobs (e.g., Spark, Airflow) that complete successfully

98% job success rate

SERVICE LEVEL INDICATOR

Frequently Asked Questions

A Service Level Indicator (SLI) is a quantitative measure of a specific aspect of a service's performance, such as request latency or error rate, which is used to evaluate compliance with a Service Level Objective (SLO). Below are key questions for implementing SLIs in data reliability engineering.

A Service Level Indicator (SLI) is a quantitative, directly measurable metric that quantifies a specific aspect of a service's performance or reliability over a defined time window. It is the raw measurement used to evaluate whether a Service Level Objective (SLO) is being met. Common examples include request success rate (e.g., 99.9%), request latency at a specific percentile (e.g., p95 latency < 200ms), and system availability (uptime percentage). In data engineering, a Data SLI might measure the percentage of data records arriving within a freshness window or the rate of schema validation failures. An SLI is not a target itself but the empirical data against which a target (the SLO) is compared.

Prasad Kumkar

About the author

Prasad Kumkar

CEO & MD, Inference Systems

Prasad Kumkar is the CEO & MD of Inference Systems and writes about AI systems architecture, LLM infrastructure, model serving, evaluation, and production deployment. Over 5+ years, he has worked across computer vision models, L5 autonomous vehicle systems, and LLM research, with a focus on taking complex AI ideas into real-world engineering systems.

His work and writing cover AI systems, large language models, AI agents, multimodal systems, autonomous systems, inference optimization, RAG, evaluation, and production AI engineering.