Files
grafana/docs/sources/alerting/silences/create-silence.md
T
Jack Baldry 3c68684dd2 [v9.2.x] Use relative aliases for all non-current Grafana aliases (#60113)
* Use relative aliases for all non-current Grafana aliases

Prevents non-latest documentation "stealing" the page away from latest
and through permanent redirects for latest pages that no longer exist.

The redirected pages are indexed by search engines but our robots.txt
forbids them crawling the non-latest page.

Signed-off-by: Jack Baldry <jack.baldry@grafana.com>

* Remove all current page aliases

find docs/sources -type f -name '*.md' -exec sed -z -i 's#\n *- /docs/grafana/next/[^\n]*\n#\n#' {} \;
find docs/sources -type f -name '*.md' -exec sed -z -i 's#\n *- /docs/grafana/latest/[^\n]*\n#\n#' {} \;
find docs/sources -type f -name '*.md' -exec sed -Ez -i 's#\n((aliases:\n *-)|aliases:\n)#\n\2#' {} \;

Signed-off-by: Jack Baldry <jack.baldry@grafana.com>

Signed-off-by: Jack Baldry <jack.baldry@grafana.com>
2022-12-12 08:23:37 -04:00

1.4 KiB

aliases, description, keywords, title, weight
aliases description keywords title weight
../unified-alerting/silences/
Add silence alert notification
grafana
alerting
silence
mute
Create a silence 450

Create a silence

Silences stop notifications from getting created and last for only a specified window of time.

To add a silence:

  1. In the Grafana menu, click the Alerting (bell) icon to open the Alerting page listing existing alerts.
  2. On the Alerting page, click Silences to open the page listing existing silences.
  3. From Alertmanager drop-down, select an external Alertmanager to create and manage silences for the external data source. Otherwise, keep the default option of Grafana.
  4. Click New 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 Name and Value fields, enter one or more Matching Labels. Matchers determine which rules the silence will apply to. For more information, see [how label matching works]({{< relref "../fundamentals/annotation-label/labels-and-label-matchers/" >}}).
  8. In Comment, add details about the silence.
  9. In Creator, enter the name of the silence owner or keep the default owner.
  10. Click Create.