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

allow to specify label sets for which keep_firing_for applies #14084

Open
calestyo opened this issue May 13, 2024 · 0 comments
Open

allow to specify label sets for which keep_firing_for applies #14084

calestyo opened this issue May 13, 2024 · 0 comments

Comments

@calestyo
Copy link

Proposal

Hey.

When setting keep_firing_for for some alert rule, it would be nice if one could further select label sets for which it will actually apply.

Like assume one has an alert where for some instances one knows keep_firing_for is needed because they're prone to flapping, but other instances are not, it would be good if one could do something like a instance=~'some pattern' to specify which instances the keep_firing_for should apply to, while leaving all other alone.

Sure one can just make two alerts, one with the keep_firing_for and one without, and then filter the different instances in the alert rule expression. But that makes things quit messy, doesn't it?

It might even be nice if one could specify different time periods, based on different label sets.

Thanks,
Chris.

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

No branches or pull requests

1 participant