1. SLOs #
Objective, error budget and burn rate.
The concepts #
| Indicator | Definition |
|---|---|
| SLI | good requests / total requests over the period |
| Error budget | 100% − objective; 99.9% over 28 days = 40.3 minutes |
| Remaining budget | 1 − (error rate over the period / budget) |
| Burn rate | error rate over a window / budget; 1 = budget used up exactly at period end |
Creating an SLO #
Alerting & IRM → SLO screen: two PromQL queries containing $window (replaced by 5m, 1h, 28d…), an objective (e.g. 99.9), a rolling period (7, 14, 28, 30 or 90 days) and a service, added as the service_name label. Templates exist for HTTP availability, HTTP latency and blackbox probes.
# Good requests
sum(rate(http_server_request_duration_seconds_count{service_name="checkout", http_response_status_code!~"5.."}[$window]))
# Total requests
sum(rate(http_server_request_duration_seconds_count{service_name="checkout"}[$window]))States shown: Compliant, Low budget (under 25% left), Fast burn (1 h burn rate ≥ 6), Objective missed (budget exhausted).
Burn-rate alerts #
| Windows | Burn rate | Severity | Meaning |
|---|---|---|---|
| 1 h and 5 min | 14.4 | critical | 2% of the budget in 1 h |
| 6 h and 30 min | 6 | critical | 5% of the budget in 6 h |
| 1 d and 2 h | 3 | warning | 10% of the budget in 1 day |
| 3 d and 6 h | 1 | warning | 10% of the budget in 3 days |
Observa generates these four rules (the multiwindow, multi-burn-rate method from the Google SRE Workbook) in the slo folder, with the slo, slo_uid, burn_window and source="observa-slo" labels. They are regenerated whenever the SLO changes.
Best practice : The double window (long and short) avoids two traps: alerting on a brief spike that is already over, and keeping on alerting long after things are back to normal.
2. On-call and incidents #
Schedules, escalations, acknowledgement, incidents.
Escalation #
Alerting & IRM → On-call & incidents screen. A schedule combines rotations (participants, start date, 8 h, 12 h, daily, weekly or two-week handover) and one-off overrides, which take priority. Handovers for the next 14 days are shown.
| Chain step | Effect |
|---|---|
| Notify on-call | e-mail to the on-call person of the schedule |
| Notify users | e-mail to the listed users |
| Notify a contact point | Teams, Slack, PagerDuty, ServiceNow… |
| Wait | N-minute pause |
The chain repeats up to 10 times. To use it: create a contact point of type Escalation chain (on-call), then route it in Alerting → Policies (for example severity="critical"). The Acknowledge button (Editor role) stops the escalation.
Incidents #
- Declare an incident (Editor): title, severity (critical, major, minor), summary, linked alerts.
- Status: ongoing, mitigated, resolved (duration computed).
- Roles: incident lead, communication, investigation.
- Timeline fed automatically and by notes.
- Post-mortem: impact, root cause, corrective actions.
Good to know : The AI assistant and MCP agents can declare an incident, add a note or ask who is on call (who_is_on_call).