From c0c3ba64acdf487b274ecee4bbbfc175c7b2394e Mon Sep 17 00:00:00 2001 From: Igor Duarte Date: Tue, 7 Nov 2023 17:01:40 -0300 Subject: [PATCH] rule_config.yml.j2: Group alerts by severity Since we didn't have a group_by defined we were grouping all alerts being triggered at the same time. This patch changes this behavior to group only alerts with the same severity. --- ansible-scylla-monitoring/templates/rule_config.yml.j2 | 1 + 1 file changed, 1 insertion(+) diff --git a/ansible-scylla-monitoring/templates/rule_config.yml.j2 b/ansible-scylla-monitoring/templates/rule_config.yml.j2 index c3f5149f..4f0c39ae 100644 --- a/ansible-scylla-monitoring/templates/rule_config.yml.j2 +++ b/ansible-scylla-monitoring/templates/rule_config.yml.j2 @@ -63,6 +63,7 @@ receivers: headers: Subject: '[PRODUCTION] URGENT Managed-Services - Cluster:{{ scylla_cluster_name }}' route: + group_by: ['severity'] group_interval: 5m group_wait: 30s repeat_interval: 6h