All Products
Search
Document Center

Application Real-Time Monitoring Service:Configure Grafana native alerting

Last Updated:Mar 11, 2026

Grafana alert rules periodically query your data sources and check conditions. When a threshold is breached, an alert fires and sends a notification to your team through the configured channel, helping you detect and resolve issues before they affect users.

The alerting model differs between Grafana versions:

VersionAlert rulesNotifications
8.2.x and earlierTied to dashboard panelsSent through notification channels
Later than 8.2.xStandalone resourcesSent through contact points, routed by notification policies based on labels

Choose the section that matches your Grafana version:

Prerequisites

Before you begin, make sure you have:

  • An Alibaba Cloud account with access to the ARMS console

  • A Managed Service for Grafana workspace

  • The Grafana administrator account credentials, or an Alibaba Cloud account with permissions to access the workspace

Grafana 8.2.x and earlier versions

image

Step 1: Log on to Grafana

  1. Log on to the ARMS console. In the left-side navigation pane, choose Managed Service for Grafana > Workspace Management.

  2. On the Workspace Management page, find your workspace and click the URL in the URL column to open Grafana.

Note

Log on with the Grafana administrator account and the password set during workspace creation, or click Sign in with Alibaba Cloud to use your Alibaba Cloud account.

Step 2: Create a notification channel

A notification channel defines where alert notifications are sent (for example, a DingTalk chatbot, a webhook endpoint, or an email address).

  1. In the left-side navigation pane, click image and select Notification channels.

  2. Click New channel and configure the following parameters.

    ParameterDescription
    NameThe channel name.
    TypeThe notification method. Supported types include DingTalk, webhook, and email.
    AddressesThe endpoint for notifications. For example, enter the webhook URL of a DingTalk chatbot. For more information, see Obtain the webhook URL of a DingTalk chatbot.

    image

Step 3: Create an alert rule

  1. In the left-side navigation pane, choose image.png > Dashboard. Click Add an empty panel.

  2. On the Query tab, select a data source and configure a query statement. Then switch to the Alert tab and click Create Alert.

    ParameterDescription
    RuleName: The alert rule name. Evaluate Every: How often the rule is evaluated. Valid values: 1m, 2m, 5m. For: How long the condition must persist before the alert fires.
    ConditionsThe threshold conditions. For example, trigger an alert when the average value of Query A exceeds 600.
    No data and error handlingWhether to send notifications when no data is returned or the query times out.
    NotificationsSend to: The notification channel configured in Step 2. Message: The notification content. For supported expressions, see Message templating. Tags: Custom tags for the alert rule.

    image

(Optional) Step 4: View the alert rule

In the left-side navigation pane, choose image > Alert Rules to view the configured alert rule.

Grafana later than 8.2.x

image
Note

The alerting UI differs slightly between Grafana 9.0.x and 10.0.x. The following steps use Grafana 9.0.x as an example. You can also create alert rules by adding an empty panel, as described in Step 3 of Grafana 8.2.x and earlier.

Step 1: Disable the ARMS alerting plug-in

Grafana native alerting and the ARMS alerting plug-in cannot run at the same time. Disable the plug-in before you proceed.

  1. Log on to the ARMS console. In the left-side navigation pane, choose Managed Service for Grafana > Workspace Management.

  2. On the Workspace Management page, click the ID of the workspace that you want to manage.

  3. In the left-side navigation pane, click Alert Management. Disable the ARMS alerting plug-in and enable Grafana native alerting.

Step 2: Create an alert rule

  1. On the Workspace Management page, find your workspace and click the URL in the URL column to open Grafana.

    Note

    Log on with the Grafana administrator account and the password set during workspace creation, or click Sign in with Alibaba Cloud to use your Alibaba Cloud account.

  2. In the left-side navigation pane, choose image.png > Alert rules. Click New alert rule or Create alert rule.

  3. On the Create alert rule page, configure the following parameters and click Save.

    ParameterDescription
    Set a query and alert conditionDefine the query and the condition that triggers alerts. Query patterns: The query statements to evaluate. Operation: The condition type. Select Classic condition for compatibility with Grafana 8.2.x and earlier. Conditions: The threshold conditions. For example, trigger an alert when the average value of Query A exceeds 600.
    Alert evaluation behaviorEvaluate Every: How often the rule is evaluated. Valid values: 1m, 2m, 5m. For: How long the condition must persist before the alert fires. Configure no data and error handling: Whether to send notifications when no data is returned or the query times out.
    Add details for your alertRule Name: The alert rule name. Folder: The folder that stores the alert rule. Group: The group for the alert rule. Rules in the same group share an evaluation interval. Summary and annotations: A description of the alert, the associated dashboards, and the folder.
    NotificationsCustom Labels: Labels for the alert rule. Notification policies use labels to route alerts to the correct contact point.

    image

  4. After saving, view the alert rule on the Alert rules page.

Step 3: Create a contact point

A contact point defines the notification destination. Grafana later than 8.2.x uses contact points instead of notification channels.

  1. In the left-side navigation pane, choose image.png > Contact points.

  2. On the Contact points tab, click New contact Point or Add contact point.

  3. Configure the following parameters.

    ParameterDescription
    NameThe contact point name.
    Contact point typeThe notification method. Supported types include DingTalk, webhook, and email.
    AddressesThe endpoint for notifications. For example, enter the webhook URL of a DingTalk chatbot. For more information, see Obtain the webhook URL of a DingTalk chatbot.
  4. (Optional) After you save the contact point, click Test to send a test notification and verify that the contact point is configured correctly.

Step 4: Create a notification policy

Notification policies route alerts to contact points based on label matching. If you assigned Custom Labels to your alert rules in Step 2, create a notification policy to route those alerts to the appropriate contact point.

  1. In the left-side navigation pane, choose image.png > Notification policies.

  2. On the Notification policies tab, click New nested policy or New specific policy. Configure the following parameters.

    ParameterDescription
    Matching labelsLabels that determine which alert rules this policy applies to.
    Contact pointThe contact point that receives alert notifications matched by this policy.

    image

  3. (Optional) Configure alert grouping, silences, and mute timings based on your requirements. Use silences to temporarily pause notifications during one-time events such as maintenance windows. Use mute timings to suppress notifications at regular intervals, such as evenings or weekends.

What's next