Join GitHub today
GitHub is home to over 31 million developers working together to host and review code, manage projects, and build software together.
Sign upCan't add labels for alert rules at group level #4139
Comments
ahrtr
changed the title
Can't add a label for a rule group
Can't add labels for alert rules at group level
May 4, 2018
This comment has been minimized.
This comment has been minimized.
|
You need to add it to each alert specifically, we generally try to avoid having more than one way to do things and this would also interact poorly with recording rules. You can always use the templating features of your configuration management system if you find that this is too noisy. |
brian-brazil
closed this
May 4, 2018
This comment has been minimized.
This comment has been minimized.
lijieki126
commented
Nov 7, 2018
|
@ahrtr How do you solve this problem? |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
ahrtr commentedMay 4, 2018
•
edited
We defined lots of alert rules, which can be classified as a couple of groups. We need to send alerts of each group to a different target (pagerDuty service). So the plan is to add a different label for each group, i.e., group1, group2, group3, etc.
But currently we have to add the label to each alert rule. It would be better if we can set the label to the group instead of each alert rule. What we want is something as below,