Menu

This is documentation for the next version of Grafana. For the latest stable release, go to the latest version.

Grafana Cloud Enterprise Open source

Configure silences

Silences stop notifications from getting created and last for only a specified window of time. Use them to temporarily prevent alert notifications, such as during incident response or a maintenance window.

Note

Silences are assigned to a specific Alertmanager and only suppress notifications for alerts managed by that Alertmanager.

Mute timings vs silences

Mute timings and silences are distinct methods to suppress notifications. They do not prevent alert rules from being evaluated or stop alert instances from appearing in the user interface; they only prevent notifications from being created.

The following table highlights the key differences between mute timings and silences.

Mute timingSilence
SetupCreated and then added to notification policiesMatches alerts using labels to determine whether to silence them
PeriodUses time interval definitions that can repeat periodicallyHas a fixed start and end time

Add silences

To add a silence, complete the following steps.

  1. In the left-side menu, click Alerts & IRM and then Alerting.

  2. Click Silences.

  3. 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.

  4. Click Create silence to open the Create silence page.

  5. In Silence start and end, select the start and end date to indicate when the silence should go into effect and expire.

  6. Optionally, in Duration, specify how long the silence is enforced. This automatically updates the end time in the Silence start and end field.

  7. In the Label and Value fields, enter one or more Matching Labels to determine which alerts the silence applies to.

    Any matching alerts (in the firing state only) will show under Affected alert rule instances.

  8. In Comment, add details about the silence.

  9. Click Submit.

Edit silences

To edit a silence, complete the following steps.

  1. In the left-side menu, click Alerts & IRM and then Alerting.
  2. Click Silences to view the list of existing silences.
  3. Find the silence you want to edit, then click Edit (pen icon).
  4. Make the desired changes, then click Submit to save your changes.

Remove silences

To remove a silence, complete the following steps.

  1. In the left-side menu, click Alerts & IRM and then Alerting.
  2. Click Silences to view the list of existing silences.
  3. 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.

Rule-specific silences

Rule-specific silences are silences that apply only to a specific alert rule. They’re created when you silence an alert rule directly using the Silence notifications action in the UI.

As opposed to general silences, rule-specific silence access is tied directly to the alert rule they act on. They can be created manually by including the specific label matcher: __alert_rule_uid__=<alert rule UID>.

Default notification messages often include a link to silence alerts.

In custom notification templates, you can use .Alert.SilenceURL to redirect users to the UI where they can silence the given alert.

If .Alert.SilenceURL doesn’t fit your specific use case, you can also create a custom silence link for your custom templates.

Inhibition rules

Inhibition rules are supported in the Prometheus Alertmanager. You can configure a Prometheus Alertmanager to handle the notification of alerts and suppress notifications via inhibition rules.

Inhibition rules are not currently supported in the Grafana Alertmanager. For tracking the progress of this feature request, follow this GitHub issue.