From 0d33b2c40f92c84f851b22607583071aef698074 Mon Sep 17 00:00:00 2001 From: Alexandre Iooss <erdnaxe@crans.org> Date: Mon, 22 Jul 2019 08:51:51 +0200 Subject: [PATCH] [prometheus-alerts] do not group for IRC chat --- .../templates/prometheus/alertmanager.yml.j2 | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/roles/prometheus-alertmanager/templates/prometheus/alertmanager.yml.j2 b/roles/prometheus-alertmanager/templates/prometheus/alertmanager.yml.j2 index bc957ae1..44ceef73 100644 --- a/roles/prometheus-alertmanager/templates/prometheus/alertmanager.yml.j2 +++ b/roles/prometheus-alertmanager/templates/prometheus/alertmanager.yml.j2 @@ -17,7 +17,8 @@ route: # The labels by which incoming alerts are grouped together. For example, # multiple alerts coming in for cluster=A and alertname=LatencyHigh would # be batched into a single group. - group_by: ['alertname', 'cluster', 'service'] + #group_by: ['alertname', 'cluster', 'service'] + group_by: [] # do not group for text chat # When a new group of alerts is created by an incoming alert, wait at # least 'group_wait' to send the initial notification. -- GitLab