- If your HTTP error rate is 2%, is that acceptable for your users?
- If latency reaches 800 ms for some requests, is it urgent enough to wake someone at 3 a.m.?
Service Level Indicators (SLIs)
An SLI (Service Level Indicator) is a user-facing metric that captures the quality of service from the customer’s perspective. SLIs should measure outcomes that matter to users, not internal implementation details. Examples:- Error rate as an SLI: percentage of failed requests.
- Latency as an SLI: percentage of requests that complete under 500 ms.
- Availability as an SLI: percentage of successful requests over a time window.

Choose SLIs that reflect user experience. Avoid internal-only signals (CPU, pod restarts) unless those directly affect user-visible outcomes.
Service Level Objectives (SLOs)
An SLO (Service Level Objective) is a target you set for an SLI. It defines what “healthy” looks like over a defined time window. Example:- SLI: percentage of requests under 500 ms
- SLO: 95% of requests complete under 500 ms over a 24-hour window
- Avoid extremes: not so strict that minor fluctuations trigger high-priority response, and not so loose that real user pain goes unnoticed.
- Use a relevant time window (e.g., 24h, 7d, 30d) depending on traffic patterns and business requirements.
- Consider multiple SLIs (latency, error rate, availability) and prioritize by user impact.
Service Level Agreements (SLAs)
An SLA (Service Level Agreement) is a contractual commitment to customers specifying the level of service and consequences if that level is not met (credits, refunds, penalties).
Keep your SLA less strict than your SLOs so internal alerts trigger before customer-facing commitments are at risk. This buffer enables proactive remediation.
How these concepts map to the Golden Signals
Golden signals (Traffic, Errors, Latency, Saturation) are categories to instrument. From those signals:- SLIs choose the specific user-facing metric (e.g., 95th percentile latency).
- SLOs set acceptable thresholds and time windows (e.g., 95% under 500ms over 24h).
- SLAs are customer-facing guarantees and should include remediation terms.

Quick comparison
Monitoring and tooling
You will build queries and dashboards around SLIs and SLOs. Common tools:- Prometheus for collecting and querying metrics
- Grafana for visualization and alerting
