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

This commit is contained in:
Frederic Branczyk committed 2018-06-07 11:53:37 +02:00
1 parent 9ecfa96875
commit 62fa823e3e
6 files changed
+105 -4

No files matched your search

+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