Monitoring and observability ยท Practice and architecture
SLO-based alerting: from user needs to actionable rules
A CPU threshold can help diagnose a problem, but it does not directly describe the user's experience. SLO-based alerting starts with an objective for service behavior, then chooses an appropriate measurement.
Define the indicator and its boundaries
For an API, consider the fraction of successful requests or client-visible latency. Agree which requests count, which errors belong to the service and what missing data means. Then select the reporting window.
Not every signal should page an operator
Rapid error-budget consumption may justify immediate action. Slower degradation may create a ticket. Test windows and thresholds against real traffic, especially for services with few requests.
Keep the dashboard, alert and response consistent
The alert should lead to a view of the same indicator and a clear first action. After an incident, ask whether the right team got the rule at the right time and whether it could distinguish the signal from noise.