kube-prometheus: Add docs on how to set Alertmanager configuration

This commit is contained in:
Frederic Branczyk
2018-06-07 11:53:37 +02:00
parent 9ecfa96875
commit 62fa823e3e
6 changed files with 105 additions and 4 deletions
+22
View File
@@ -0,0 +1,22 @@
((import 'kube-prometheus/kube-prometheus.libsonnet') + {
_config+:: {
alertmanager+: {
config: |||
global:
resolve_timeout: 10m
route:
group_by: ['job']
group_wait: 30s
group_interval: 5m
repeat_interval: 12h
receiver: 'null'
routes:
- match:
alertname: DeadMansSwitch
receiver: 'null'
receivers:
- name: 'null'
|||,
},
},
}).alertmanager.secret