pint icon indicating copy to clipboard operation
pint copied to clipboard

[Feature] Allow matching rules for alert/record name

Open GMartinez-Sisti opened this issue 7 months ago • 0 comments

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.

GMartinez-Sisti avatar Jul 03 '24 09:07 GMartinez-Sisti