Files
Pepe Cano 5c1b263664 docs(alerting): simplify Intro to Grafana Alerting docs (#106944)
* docs(alerting): improve `Intro > Alert rule evaluation` docs

* Update Introduction to Grafana Alerting

* Simplify `Intro > Alert rules` and related docs

* minor copy change phrasing GMA and DS differences

* fix vale error
2025-06-26 12:25:32 +00:00

8.2 KiB
Raw Permalink Blame History

aliases canonical description keywords labels title weight refs
./notification-policies/
https://grafana.com/docs/grafana/latest/alerting/fundamentals/notifications/ Learn about how notifications work
grafana
alerting
notification policies
products
cloud
enterprise
oss
Notifications 110
alert-rule-evaluation group-alert-notifications templates configure-alertmanager notification-policies notification-timings silences mute-timings contact-points
pattern destination
/docs/grafana/ /docs/grafana/<GRAFANA_VERSION>/alerting/fundamentals/alert-rule-evaluation/
pattern destination
/docs/grafana-cloud/ /docs/grafana-cloud/alerting-and-irm/alerting/fundamentals/alert-rule-evaluation/
pattern destination
/docs/grafana/ /docs/grafana/<GRAFANA_VERSION>/alerting/fundamentals/notifications/group-alert-notifications/
pattern destination
/docs/grafana-cloud/ /docs/grafana-cloud/alerting-and-irm/alerting/fundamentals/notifications/group-alert-notifications/
pattern destination
/docs/grafana/ /docs/grafana/<GRAFANA_VERSION>/alerting/fundamentals/templates/
pattern destination
/docs/grafana-cloud/ /docs/grafana-cloud/alerting-and-irm/alerting/fundamentals/templates/
pattern destination
/docs/grafana/ /docs/grafana/<GRAFANA_VERSION>/alerting/set-up/configure-alertmanager/
pattern destination
/docs/grafana-cloud/ /docs/grafana-cloud/alerting-and-irm/alerting/set-up/configure-alertmanager/
pattern destination
/docs/grafana/ /docs/grafana/<GRAFANA_VERSION>/alerting/fundamentals/notifications/notification-policies/
pattern destination
/docs/grafana-cloud/ /docs/grafana-cloud/alerting-and-irm/alerting/fundamentals/notifications/notification-policies/
pattern destination
/docs/grafana/ /docs/grafana/<GRAFANA_VERSION>/alerting/fundamentals/notifications/group-alert-notifications/#timing-options
pattern destination
/docs/grafana-cloud/ /docs/grafana-cloud/alerting-and-irm/alerting/fundamentals/notifications/group-alert-notifications/#timing-options
pattern destination
/docs/grafana/ /docs/grafana/<GRAFANA_VERSION>/alerting/configure-notifications/create-silence/
pattern destination
/docs/grafana-cloud/ /docs/grafana-cloud/alerting-and-irm/alerting/configure-notifications/create-silence/
pattern destination
/docs/grafana/ /docs/grafana/<GRAFANA_VERSION>/alerting/configure-notifications/mute-timings/
pattern destination
/docs/grafana-cloud/ /docs/grafana-cloud/alerting-and-irm/alerting/configure-notifications/mute-timings/
pattern destination
/docs/grafana/ /docs/grafana/<GRAFANA_VERSION>/alerting/fundamentals/notifications/contact-points/
pattern destination
/docs/grafana-cloud/ /docs/grafana-cloud/alerting-and-irm/alerting/fundamentals/notifications/contact-points/

Notifications

Choosing how, when, and where to send your alert notifications is an important part of setting up your alerting system. These decisions have a direct impact on your teams ability to receive the necessary information to resolve issues quickly and minimize alert noise.

Start defining your contact points to specify how to receive your alert notifications. Then, configure your alert rules to send their alerts to either a contact point or use the Notification Policy Tree to flexibly route alerts to contact points.


{{< figure src="/media/docs/alerting/alerting-configure-notifications-v2.png" max-width="750px" alt="Configure alert rules to forward firing alerts directly to a contact point or through notification policies" caption="Configure alert rules to forward firing alerts directly to a contact point or through notification policies" >}}

How it works at a glance

  • Grafana alerting periodically evaluates your alert rules.
  • It triggers notifications for alert instances that are firing or resolved.
  • You can configure an alert rule to send notifications to a contact point or route them through notification policies for greater flexibility.
  • To reduce the number of notifications, you can group related alerts into a single notification by using label grouping and notification timings.

Fundamentals

Contact points

Contact points contain the configuration for sending alert notifications, specifying destinations like email, Slack, IRM, webhooks, and their notification messages.

A contact point is a list of integrations, each sending a message to a specific destination.

By default, notification messages include common alert details, such as the number of alerts, alert names, labels, annotations, and other alert information. You can also customize notification messages and use notification templates.

First, create the contact point and test the notifications. Then, configure the alert rule to send its notifications to either a contact point or through Notification Policies.

Notification policies

Notification policies are the backbone of a comprehensive alerting system. They provide a flexible and effective method to route alerts to distinct contact points, helping reduce alert noise while ensuring no alerts are missed.

The notification policy tree is responsible for:

  • Defining nested policies that can inherit or overwrite parent notification settings.
  • Routing alerts by matching alert labels to the appropriate notification policy.

{{< figure src="/media/docs/alerting/notification-routing.png" max-width="750px" alt="A diagram displaying how the notification policy tree routes alerts" >}}

Each notification policy handles specific tasks:

  • Deciding which contact point receives the alert notification.
  • Controlling when to send notifications based on its notification timing options.
  • Grouping multiple alerts into a single notification to reduce alert noise.

{{< figure src="/media/docs/alerting/alerting-notification-policy-diagram-v5.png" max-width="750px" alt="A diagram of the notification policy component" >}}

Group alert notifications

When something fails in our system, our alerting setup can easily trigger hundreds or even thousands of alert instances (notifications). Several alert rules often fail simultaneously. Additionally, each alert rule may generate multiple alert instances.

Grouping alert notifications is commonly necessary to avoid bombarding our alert inbox. Grouping combines similar alert instances in a given period into one single notification.

Notification grouping uses:

  • Labels: Group alert instances of the same type by using labels.
  • Timing options: Wait for a specified period before sending the notification, allowing for the grouping of incoming alert instances.

Templates, silences and mute timings

Grafana Alerting provides advanced notification capabilities that youll find useful as you and your team refine your initial alerting system.

For instance, you can customize notifications with shared templates that provide actionable alert information and can be reused for multiple notifications.

Additionally, you can use silences and mute timings to pause or suppress notifications without interrupting alert evaluation.

Architecture

Grafana Alerting is built on the Prometheus model, which separates two main components for scalability and performance:

  • An alert generator that evaluates alert rules and sends firing and resolved alerts to the alert receiver.
  • An alert receiver (also known as Alertmanager) that receives the alerts and is responsible for sending their notifications.

{{< figure src="/media/docs/alerting/alerting-alertmanager-architecture.png" max-width="750px" alt="A diagram with the alert generator and alert manager architecture" >}}

Grafana includes a custom Alertmanager that extends the Prometheus Alertmanager to manage and deliver alert notifications. You can also configure Grafana Alerting to work with other Alertmanagers.