grafana/jsonnet-libs

I try to remove only one alert

gaetanars opened this issue · 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 🙏