Prometheus · Arazzo Workflow
Prometheus Silence a Firing Alert
Version 1.0.0
Find a firing alert, silence it by its labels, and confirm the silence took hold.
Provider
Workflows
silence-firing-alert
Create a silence for a firing alert and verify it is suppressed.
Reading the alert first matters — silences match on labels, and a matcher written from memory rather than from the alert's actual label set is the usual reason a silence appears to do nothing.
1
findFiringAlert
getAlerts
Locate the firing alert and capture the label set Alertmanager is actually holding for it. The fingerprint identifies this unique label combination.
2
listReceivers
listReceivers
List the configured receivers so the operator can record which notification integrations this silence is about to mute.
3
createSilence
createSilence
Create the silence. Every matcher must match for an alert to be suppressed, so alertname plus instance scopes this to the one firing target and leaves the same alert on other instances still paging.
4
confirmSilence
getSilence
Read the silence back by its id and check its state. A state of pending means startsAt is in the future and the alert will keep paging until then.
5
verifyAlertSuppressed
getAlerts
Re-read the alert including silenced alerts and confirm Alertmanager now reports it suppressed and attributes the suppression to this silence.