forked from PinSpace-Org/GistPin
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathslo-definitions.yml
More file actions
36 lines (34 loc) 路 930 Bytes
/
Copy pathslo-definitions.yml
File metadata and controls
36 lines (34 loc) 路 930 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
slos:
- name: API Availability
description: The API serves 99.9% of requests successfully
target: 99.9
window: 30d
sli:
type: availability
good_events: http_requests_total{status!~"5.."}
total_events: http_requests_total
burn_rate_alerts:
- window: 1h
burn_rate: 14.4
severity: critical
- window: 6h
burn_rate: 6.0
severity: warning
- name: API Latency p95
description: 95% of API requests complete within 500 ms
target: 95.0
window: 30d
sli:
type: latency
threshold_ms: 500
good_events: http_request_duration_seconds_bucket{le="0.5"}
total_events: http_request_duration_seconds_count
burn_rate_alerts:
- window: 1h
burn_rate: 14.4
severity: critical
- window: 6h
burn_rate: 6.0
severity: warning
error_budget:
notify_at_percent_consumed: [50, 75, 90]