-
Notifications
You must be signed in to change notification settings - Fork 30
/
Copy pathalert-grafana-values.yaml
42 lines (42 loc) · 1.07 KB
/
alert-grafana-values.yaml
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
alertmanager:
config:
global:
resolve_timeout: 5m
inhibit_rules:
- source_matchers:
- 'severity = critical'
target_matchers:
- 'severity =~ warning|info'
equal:
- 'namespace'
- 'alertname'
- source_matchers:
- 'severity = warning'
target_matchers:
- 'severity = info'
equal:
- 'namespace'
- 'alertname'
- source_matchers:
- 'alertname = InfoInhibitor'
target_matchers:
- 'severity = info'
equal:
- 'namespace'
route:
group_by: ['namespace']
group_wait: 30s
group_interval: 5m
repeat_interval: 12h
receiver: 'jiralert'
routes:
- receiver: 'jiralert'
matchers:
- alertname =~ "InfoInhibitor|Watchdog|TargetDown"
receivers:
- name: 'jiralert'
webhook_configs:
- send_resolved: true
url: http://jiralert:9097/alert
templates:
- '/etc/alertmanager/config/*.tmpl'