jsonnet-libs icon indicating copy to clipboard operation
jsonnet-libs copied to clipboard

I try to remove only one alert

Open gaetanars opened this issue 1 year ago • 0 comments

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 🙏

gaetanars avatar Dec 14 '23 14:12 gaetanars