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

I try to remove only one alert #1113

Open
gaetanars opened this issue Dec 14, 2023 · 0 comments
Open

I try to remove only one alert #1113

gaetanars opened this issue Dec 14, 2023 · 0 comments

Comments

@gaetanars
Copy link

I try to remove one alert from a mixin with that code :

local removeAlerts = (import "mixin-utils/utils.libsonnet").removeAlerts;
(import "squid-mixin/mixin.libsonnet") +
(removeAlerts({alert: 'SquidLowCacheHitRatio'}))

In the result, it's appear that SquidLowCacheHitRatio is not removed and I don't understand why. Is removeAlerts it supposed remove one alert ? If yes, how do I use it ?

Thanks 🙏

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