-
Notifications
You must be signed in to change notification settings - Fork 147
/
prometheus.yml
51 lines (51 loc) · 1.42 KB
/
prometheus.yml
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
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
serverFiles:
# Insert the correct values in all parameters marked with "#TODO"
alerting_rules.yml:
groups:
- name: NodeDown
rules:
# Alert for any instance that is unreachable for >5 minutes.
- alert: InstanceDown
expr: #TODO
for: 2m
labels:
severity: page
annotations:
host: #TODO
summary: "Instance down"
description: #TODO
- name: low_memory_alert
rules:
- alert: LowMemory
expr: #TODO
for: 2m
labels:
severity: warning
annotations:
host: #TODO
summary: #TODO
description: #TODO
- alert: KubePersistentVolumeErrors
expr: #TODO
for: 2m
labels:
severity: critical
annotations:
description: #TODO
summary: PersistentVolume is having issues with provisioning.
- alert: KubePodCrashLooping
expr: #TODO
for: 2m
labels:
severity: warning
annotations:
description: #TODO
summary: Pod is crash looping.
- alert: KubePodNotReady
expr: #TODO
for: 2m
labels:
severity: warning
annotations:
description: #TODO
summary: Pod has been in a non-ready state for more than 2 minutes.