Add prometheus, alertmanager, pushgateway configs
Change-Id: I7f146e0207ada58f0723b14d0a625a6bce67ea9f
diff --git a/metadata/service/alertmanager/container.yml b/metadata/service/alertmanager/container.yml
new file mode 100644
index 0000000..1fcf610
--- /dev/null
+++ b/metadata/service/alertmanager/container.yml
@@ -0,0 +1,39 @@
+applications:
+ - alertmanager
+parameters:
+ prometheus:
+ alertmanager:
+ enabled: true
+ bind:
+ address: 0.0.0.0
+ port: 9093
+ config:
+ global:
+ resolve_timeout: 5m
+ route:
+ group_by: ['alertname', 'region', 'service']
+ group_wait: 60s
+ group_interval: 5m
+ repeat_interval: 3h
+ receiver: HTTP-notification
+ inhibit_rules:
+ - source_match:
+ severity: 'down'
+ target_match:
+ severity: 'critical'
+ equal: ['region', 'service']
+ - source_match:
+ severity: 'down'
+ target_match:
+ severity: 'warning'
+ equal: ['region', 'service']
+ - source_match:
+ severity: 'critical'
+ target_match:
+ severity: 'warning'
+ equal: ['alertname', 'region', 'service']
+ receivers:
+ - name: 'HTTP-notification'
+ webhook_configs:
+ - url: http://127.0.0.1
+ send_resolved: true