From eb2819f638e289314363acc0d94789330fa7e721 Mon Sep 17 00:00:00 2001 From: Tom Hughes Date: Sun, 24 Jan 2021 12:00:20 +0000 Subject: [PATCH] Group prometheus alerts by the alertgroup label --- cookbooks/prometheus/templates/default/alertmanager.yml.erb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/cookbooks/prometheus/templates/default/alertmanager.yml.erb b/cookbooks/prometheus/templates/default/alertmanager.yml.erb index 197dcf667..64422c44b 100644 --- a/cookbooks/prometheus/templates/default/alertmanager.yml.erb +++ b/cookbooks/prometheus/templates/default/alertmanager.yml.erb @@ -10,7 +10,7 @@ templates: route: group_by: - - service + - alertgroup group_wait: 30s group_interval: 5m repeat_interval: 3h -- 2.39.5