formula-prometheus/metadata/service/alertmanager/container.yml
vitalygusev 26cc037c8d Group alerts in Alertmanager by alertname and instance
Change-Id: Id2f062bccbe9c3bdb246784631746cd3b6992a63
2018-08-16 18:53:26 +04:00

46 lines
1.2 KiB
YAML

applications:
- prometheus
parameters:
prometheus:
alertmanager:
enabled: true
dir:
config: /srv/volumes/prometheus/alertmanager
data: /srv/volumes/local/prometheus/alertmanager
bind:
address: 0.0.0.0
port: 9093
config:
global:
resolve_timeout: 5m
route:
group_by: ['alertname', 'instance']
group_wait: 60s
group_interval: 5m
repeat_interval: 3h
receiver: default
inhibit_rule:
InhibitCriticalWhenDown:
enabled: false
source_match:
severity: 'down'
target_match:
severity: 'critical'
equal: ['region', 'service']
InhibitWarningWhenDown:
enabled: false
source_match:
severity: 'down'
target_match:
severity: 'warning'
equal: ['region', 'service']
InhibitWarningWhenCritical:
enabled: false
source_match:
severity: 'critical'
target_match:
severity: 'warning'
equal: ['region', 'service']
receiver:
default:
enabled: true