File provision silences

Is there a documentation around how to file provision silences?

We have multiple series from a query and would like to silence alerts on one of them – so that other series are actively monitored and alerted on. Currently this can be done through UI but how can this be file provisioned?

OT: why you just don’t exclude that timeseries on the alert query level?

Excluding series might be an option if this was required for long term.

My scenario is that if there is an annoying alert going off for a series … owners can put a temporary silence file, remediate the condition and revert the silence file specific for that series. Since this would be file provisioned, it would go through scm for audit.

1 Like