infra/k8s/monitoring/alertmanager-config/alertmanager.yaml

43 lines
802 B
YAML

global:
resolve_timeout: 5m
inhibit_rules:
- equal:
- namespace
- alertname
source_matchers:
- severity = critical
target_matchers:
- severity =~ warning|info
- equal:
- namespace
- alertname
source_matchers:
- severity = warning
target_matchers:
- severity = info
- equal:
- namespace
source_matchers:
- alertname = InfoInhibitor
target_matchers:
- severity = info
receivers:
- name: default
webhook_configs:
- url: http://matrix-alertmanager-receiver:8080/alerts/alerts
- name: watchdog
- name: "null"
route:
group_by:
- namespace
group_interval: 5m
group_wait: 30s
receiver: default
repeat_interval: 12h
routes:
- matchers:
- alertname = Watchdog
receiver: watchdog
- matchers:
- alertname = InfoInhibitor
receiver: "null"