From 6b6424cb36776f5773bf690956d1ff86f783e668 Mon Sep 17 00:00:00 2001 From: Tobias Manske Date: Tue, 18 Apr 2023 23:27:37 +0200 Subject: [PATCH] Prometheus: Send alerts about matrix also to email --- .../compose_project/templates/prometheus/alertmanager.yml | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/coreos-config/roles/compose_project/templates/prometheus/alertmanager.yml b/coreos-config/roles/compose_project/templates/prometheus/alertmanager.yml index c27a051..41861a9 100644 --- a/coreos-config/roles/compose_project/templates/prometheus/alertmanager.yml +++ b/coreos-config/roles/compose_project/templates/prometheus/alertmanager.yml @@ -12,6 +12,11 @@ route: repeat_interval: 1h matchers: - alertname="PrometheusAlertmanagerE2eDeadManSwitch" + - receiver: 'email' + group_interval: 1m + continue: true + matchers: + - job=matrix_synapse_1 receivers: - name: 'email'