mirror of
https://github.com/prometheus/alertmanager
synced 2024-12-25 07:32:19 +00:00
Make the silence preview show also muted alerts
Even if an alert is already silenced and/or muted, I still want to know that my newly created silence will affect it. Signed-off-by: beorn7 <beorn@soundcloud.com>
This commit is contained in:
parent
c11117fe9f
commit
f2345d7c8e
File diff suppressed because one or more lines are too long
@ -237,7 +237,7 @@ update msg model basePath apiUrl =
|
||||
( { model | alerts = Loading }
|
||||
, Alerts.Api.fetchAlerts
|
||||
apiUrl
|
||||
{ nullFilter | text = Just (Utils.List.mjoin silence.matchers) }
|
||||
{ nullFilter | text = Just (Utils.List.mjoin silence.matchers), showSilenced = Just True, showInhibited = Just True }
|
||||
|> Cmd.map (AlertGroupsPreview >> MsgForSilenceForm)
|
||||
)
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user