]> git.openstreetmap.org Git - chef.git/commitdiff
Group prometheus alerts by the alertgroup label
authorTom Hughes <tom@compton.nu>
Sun, 24 Jan 2021 12:00:20 +0000 (12:00 +0000)
committerTom Hughes <tom@compton.nu>
Sun, 24 Jan 2021 12:05:18 +0000 (12:05 +0000)
cookbooks/prometheus/templates/default/alertmanager.yml.erb

index 197dcf667a8db77cb68f7da46432504eab84a511..64422c44b59d31e1dfec404f45281847fd87f418 100644 (file)
@@ -10,7 +10,7 @@ templates:
 
 route:
   group_by:
-    - service
+    - alertgroup
   group_wait: 30s
   group_interval: 5m
   repeat_interval: 3h