Render alertmanager config without yaml filter
Change-Id: Ie86bb95ab7bf37291347ca4533fe20bbd95484e1
diff --git a/metadata/service/alertmanager/container.yml b/metadata/service/alertmanager/container.yml
index 1fcf610..8335969 100644
--- a/metadata/service/alertmanager/container.yml
+++ b/metadata/service/alertmanager/container.yml
@@ -11,29 +11,37 @@
global:
resolve_timeout: 5m
route:
- group_by: ['alertname', 'region', 'service']
+ group_by: ['region', 'service']
group_wait: 60s
group_interval: 5m
repeat_interval: 3h
receiver: HTTP-notification
- inhibit_rules:
- - source_match:
+ inhibit_rule:
+ InhibitCriticalWhenDown:
+ enabled: true
+ source_match:
severity: 'down'
target_match:
severity: 'critical'
equal: ['region', 'service']
- - source_match:
+ InhibitWarningWhenDown:
+ enabled: true
+ source_match:
severity: 'down'
target_match:
severity: 'warning'
equal: ['region', 'service']
- - source_match:
+ InhibitWarningWhenCritical:
+ enabled: true
+ source_match:
severity: 'critical'
target_match:
severity: 'warning'
equal: ['alertname', 'region', 'service']
- receivers:
- - name: 'HTTP-notification'
+ receiver:
+ HTTP-notification:
+ enabled: true
webhook_configs:
- - url: http://127.0.0.1
+ localhost:
+ url: http://127.0.0.1
send_resolved: true