Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Feature] Allow matching rules for alert/record name #1020

Closed
GMartinez-Sisti opened this issue Jul 3, 2024 · 1 comment · Fixed by #1048
Closed

[Feature] Allow matching rules for alert/record name #1020

GMartinez-Sisti opened this issue Jul 3, 2024 · 1 comment · Fixed by #1048
Assignees

Comments

@GMartinez-Sisti
Copy link

Hi, I would like to be able to specify rules to match alert/record names also. Currently we can only match labels and annotations but it would be good to be able to provide rules for alert names to keep some consistency.

A direct example of this would be to prevent alert names from having dashes or underscores, to match a maximum size or even require a prefix/suffix matcher.

I'm happy to give it a try if you think it would be a good contribution to the project.

@prymitive prymitive self-assigned this Jul 26, 2024
prymitive added a commit that referenced this issue Jul 26, 2024
@prymitive
Copy link
Collaborator

Added in #1048

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants