diff --git a/coreos-config/roles/compose_project/templates/prometheus/alertmanager.yml b/coreos-config/roles/compose_project/templates/prometheus/alertmanager.yml index 41861a9..c0e3f17 100644 --- a/coreos-config/roles/compose_project/templates/prometheus/alertmanager.yml +++ b/coreos-config/roles/compose_project/templates/prometheus/alertmanager.yml @@ -14,9 +14,19 @@ route: - alertname="PrometheusAlertmanagerE2eDeadManSwitch" - receiver: 'email' group_interval: 1m - continue: true matchers: - - job=matrix_synapse_1 + - job="matrix_synapse_1" + - receiver: 'matrix-monitoring' + group_wait: 30s + group_interval: 1h + matchers: + - alertname="PrometheusAllTargetsMissing" + - receiver: 'matrix-monitoring' + group_wait: 30s + group_interval: 1h + matchers: + - alertname="PrometheusTargetMissing" + receivers: - name: 'email'