An SLI (Service Level Indicator) is a measurable signal of service health, like latency, error rate, or availability. Define it based on user outcomes with clear measurement windows and thresholds.
Good SLIs reflect user experience and are measurable:
API availability SLI:
SLI = successful_requests / total_requests
success = HTTP 2xx/3xx excluding client cancellations