Prometheus Alertamanger - how to silence all alerts for a given period during a maintenance? A work scenario that I can't cover currently is that I want to set a maintenance mode, meaning all alerts received from Prometheus to be ignored, I want to be able to set it through the UI for a given period until maintenance finish. One way to do it is manually to start covering each alert which in Prometheus-operator scenario is not sane, or I would lose a couple of hours. I can change config from secret to route all to null, but that is not practical as it requires multiple actions and is not good for on time or other user usage.
So I tried to use regex for key and value. Both set to .* .* regex. On preview I get all alerts covered, but when I click Create I get &quot;Bad Request&quot;? I couldn't find examples in internet and on official page which surprised me quite a lot.
What about Name = &quot;prometheus&quot;, Value = &quot;.*&quot;. That is something that worked for me. 
An alternative can be Name = &quot;severity&quot;, Value = &quot;.*&quot; also.