Verbose Alertmanager configuration for (lots of) multiple teams

26 views
Skip to first unread message

Tim Mower

unread,
Nov 15, 2022, 1:58:30 AM11/15/22
to Prometheus Users
We have a requirement that each service in our organization is able to set its own pagerduty service and slack channel. We have 1300 of these combinations. We want to match on the "team" label on alerts. So far i've come up with repeating the following route and receiver for all 1300 teams - which is extremely verbose (pasted at link below)

https://i.fluffy.cc/gnz75ZRR4T6Sj6zQLZr7W2jRnFrLmFst.html

Obviously we can template this, but anyone looking at the alertmanager status page is going to see a very verbose config, and i'm wondering if there is a better way of doing this considering each receiver is exactly the same except for team name / slack channel / pagerduty key, and each route only differs on the team name / receiver names
Reply all
Reply to author
Forward
0 new messages