Configure silences
Silences stop notifications from getting created and last for only a specified window of time.
Note
- Inhibition rules are not supported in the Grafana Alertmanager.
- The preview of silenced alerts only applies to alerts in firing state.
Add silences
To add a silence, complete the following steps.
- In the left-side menu, click Alerts & IRM and then Alerting.
- Click Silences.
- From the Alertmanager dropdown, select an external Alertmanager to create and manage silences for the external data source. Otherwise, keep the default option of Grafana.
- Click Create silence to open the Create silence page.
- In Silence start and end, select the start and end date to indicate when the silence should go into effect and expire.
- Optionally, in Duration, specify how long the silence is enforced. This automatically updates the end time in the Silence start and end field.
- In the Label and Value fields, enter one or more Matching Labels. Matchers determine which rules the silence will apply to. Any matching alerts (in firing state) will show in the Silenced alert instances field
- In Comment, add details about the silence.
- Click Submit.
Edit silences
To edit a silence, complete the following steps.
- In the left-side menu, click Alerts & IRM and then Alerting.
- Click Silences to view the list of existing silences.
- Find the silence you want to edit, then click Edit (pen icon).
- Make the desired changes, then click Submit to save your changes.
Create a URL to link to a silence form
When linking to a silence form, provide the default matching labels and comment via matcher
and comment
query parameters. The matcher
parameter should be in the following format [label][operator][value]
where the operator
parameter can be one of the following: =
(equals, not regex), !=
(not equals, not regex), =~
(equals, regex), !~
(not equals, regex).
The URL can contain many query parameters with the key matcher
.
For example, to link to silence form with matching labels severity=critical
& cluster!~europe-.*
and comment Silence critical EU alerts
, create a URL https://mygrafana/alerting/silence/new?matcher=severity%3Dcritical&matcher=cluster!~europe-*&comment=Silence%20critical%20EU%20alert
.
To link to a new silence page for an external Alertmanager, add a alertmanager
query parameter with the Alertmanager data source name.
Remove silences
To remove a silence, complete the following steps.
- In the left-side menu, click Alerts & IRM and then Alerting.
- Click Silences to view the list of existing silences.
- Select the silence you want to end, then click Unsilence.
Note: You cannot remove a silence manually. Silences that have ended are retained and listed for five days.
Useful links
Was this page helpful?
Related resources from Grafana Labs
![Getting started with the Grafana LGTM Stack](/static/assets/featured/getting-started-with-grafana-lgtm-stack-amer_featured.png?w=200 200w, /static/assets/featured/getting-started-with-grafana-lgtm-stack-amer_featured.png?w=400 400w)
![Intro to Kubernetes monitoring in Grafana Cloud](/media/webinar/Screenshot-2024-02-12-at-4.09.30-PM.png?w=200 200w, /media/webinar/Screenshot-2024-02-12-at-4.09.30-PM.png?w=400 400w)
![Building advanced Grafana dashboards](/media/webinar/AMER_buildadv_notxt.png?w=200 200w, /media/webinar/AMER_buildadv_notxt.png?w=400 400w)