<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom"><channel><title>Configure Alerting on Grafana Labs</title><link>https://grafana.com/docs/grafana/v10.3/alerting/alerting-rules/</link><description>Recent content in Configure Alerting on Grafana Labs</description><generator>Hugo -- gohugo.io</generator><language>en</language><atom:link href="/docs/grafana/v10.3/alerting/alerting-rules/index.xml" rel="self" type="application/rss+xml"/><item><title>Configure Grafana-managed alert rules</title><link>https://grafana.com/docs/grafana/v10.3/alerting/alerting-rules/create-grafana-managed-rule/</link><pubDate>Mon, 16 Mar 2026 04:58:00 +0000</pubDate><guid>https://grafana.com/docs/grafana/v10.3/alerting/alerting-rules/create-grafana-managed-rule/</guid><content><![CDATA[&lt;h1 id=&#34;configure-grafana-managed-alert-rules&#34;&gt;Configure Grafana-managed alert rules&lt;/h1&gt;
&lt;p&gt;Grafana-managed rules are the most flexible alert rule type. They allow you to create alerts that can act on data from any of our supported data sources. In addition to supporting multiple data sources, you can also add expressions to transform your data and set alert conditions. Using images in alert notifications is also supported. This is the only type of rule that allows alerting from multiple data sources in a single rule definition.&lt;/p&gt;
&lt;p&gt;Multiple alert instances can be created as a result of one alert rule (also known as a multi-dimensional alerting).&lt;/p&gt;


&lt;div class=&#34;admonition admonition-note&#34;&gt;&lt;blockquote&gt;&lt;p class=&#34;title text-uppercase&#34;&gt;Note&lt;/p&gt;&lt;p&gt;For Grafana Cloud, there are limits on how many Grafana-managed alert rules you can create. These are as follows:&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;Free: 100 alert rules&lt;/li&gt;
&lt;li&gt;Paid: 2000 alert rules&lt;/li&gt;
&lt;/ul&gt;&lt;/blockquote&gt;&lt;/div&gt;

&lt;p&gt;Grafana managed alert rules can only be edited or deleted by users with Edit permissions for the folder storing the rules.&lt;/p&gt;
&lt;p&gt;If you delete an alerting resource created in the UI, you can no longer retrieve it.
To make a backup of your configuration and to be able to restore deleted alerting resources, create your alerting resources using file provisioning, Terraform, or the Alerting API.&lt;/p&gt;
&lt;p&gt;Watch this video to learn more about creating alert rules: 




  
  
  


    &lt;figure
        class=&#34;responsive-video p-0 m-0&#34;
        x-data=&#34;{ vimeo_is_up: false, responded: false }&#34;
        x-init=&#34;fetch(`https://vimeo.com/api/oembed.json?url=https://vimeo.com/720001934`)
        .then(response =&gt; {
          responded = true;
          response &amp;&amp; response.status === 200 ? vimeo_is_up = true : vimeo_is_up = false;
        })
        .catch(error =&gt; {
          responded = true;
        })&#34;
    &gt;

      &lt;div class=&#34;minh-428&#34;&gt;
        &lt;template x-if=&#34;vimeo_is_up&#34;&gt;
        &lt;div style=&#34;position: relative; padding-bottom: 56.25%; height: 0; overflow: hidden;&#34;&gt;
          &lt;iframe src=&#34;https://player.vimeo.com/video/720001934?transparent=0&#34; style=&#34;position: absolute; top: 0; left: 0; width: 100%; height: 100%; border:0;&#34; title=&#34;vimeo video&#34; webkitallowfullscreen mozallowfullscreen allowfullscreen&gt;&lt;/iframe&gt;
        &lt;/div&gt;
      &lt;/template&gt;
      &lt;template x-if=&#34;responded &amp;&amp; !vimeo_is_up&#34;&gt;
        &lt;p class=&#34;bg-gray-17 p-1&#34;&gt;There&amp;rsquo;s supposed to be a video here, but for some reason there isn&amp;rsquo;t. Either we entered the id wrong (oops!), or Vimeo is down. If it&amp;rsquo;s the latter, we&amp;rsquo;d expect they&amp;rsquo;ll be back up and running soon. In the meantime, &lt;a href=&#34;/blog/&#34;&gt;check out our blog&lt;/a&gt;!&lt;/p&gt;
      &lt;/template&gt;
      &lt;/div&gt;

      
    &lt;/figure&gt;
&lt;/p&gt;
&lt;p&gt;In the following sections, we’ll guide you through the process of creating your Grafana-managed alert rules.&lt;/p&gt;
&lt;p&gt;To create a Grafana-managed alert rule, use the in-product alert creation flow and follow these steps to help you.&lt;/p&gt;
&lt;h2 id=&#34;set-alert-rule-name&#34;&gt;Set alert rule name&lt;/h2&gt;
&lt;ol&gt;
&lt;li&gt;
&lt;p&gt;Click &lt;strong&gt;Alerts &amp;amp; IRM&lt;/strong&gt; -&amp;gt; &lt;strong&gt;Alert rules&lt;/strong&gt; -&amp;gt; &lt;strong&gt;&#43; New alert rule&lt;/strong&gt;.&lt;/p&gt;
&lt;/li&gt;
&lt;li&gt;
&lt;p&gt;Enter a name to identify your alert rule.&lt;/p&gt;
&lt;p&gt;This name is displayed in the alert rule list. It is also the &lt;code&gt;alertname&lt;/code&gt; label for every alert instance that is created from this rule.&lt;/p&gt;
&lt;/li&gt;
&lt;/ol&gt;
&lt;h2 id=&#34;define-query-and-condition&#34;&gt;Define query and condition&lt;/h2&gt;
&lt;p&gt;Define a query to get the data you want to measure and a condition that needs to be met before an alert rule fires.&lt;/p&gt;
&lt;ol&gt;
&lt;li&gt;
&lt;p&gt;Select a data source.&lt;/p&gt;
&lt;/li&gt;
&lt;li&gt;
&lt;p&gt;From the &lt;strong&gt;Options&lt;/strong&gt; dropdown, specify a 
    &lt;a href=&#34;/docs/grafana/v10.3/dashboards/use-dashboards/#time-units-and-relative-ranges&#34;&gt;time range&lt;/a&gt;.&lt;/p&gt;
&lt;p&gt;&lt;strong&gt;Note:&lt;/strong&gt;&lt;/p&gt;
&lt;p&gt;Grafana Alerting only supports fixed relative time ranges, for example, &lt;code&gt;now-24hr: now&lt;/code&gt;.&lt;/p&gt;
&lt;p&gt;It does not support absolute time ranges: &lt;code&gt;2021-12-02 00:00:00 to 2021-12-05 23:59:592&lt;/code&gt; or semi-relative time ranges: &lt;code&gt;now/d to: now&lt;/code&gt;.&lt;/p&gt;
&lt;/li&gt;
&lt;li&gt;
&lt;p&gt;Add a query.&lt;/p&gt;
&lt;p&gt;To add multiple 
    &lt;a href=&#34;/docs/grafana/v10.3/panels-visualizations/query-transform-data/#add-a-query&#34;&gt;queries&lt;/a&gt;, click &lt;strong&gt;Add query&lt;/strong&gt;.&lt;/p&gt;
&lt;p&gt;All alert rules are managed by Grafana by default. If you want to switch to a data source-managed alert rule, click &lt;strong&gt;Switch to data source-managed alert rule&lt;/strong&gt;.&lt;/p&gt;
&lt;/li&gt;
&lt;li&gt;
&lt;p&gt;Add one or more 
    &lt;a href=&#34;/docs/grafana/v10.3/panels-visualizations/query-transform-data/expression-queries/&#34;&gt;expressions&lt;/a&gt;.&lt;/p&gt;
&lt;p&gt;a. For each expression, select either &lt;strong&gt;Classic condition&lt;/strong&gt; to create a single alert rule, or choose from the &lt;strong&gt;Math&lt;/strong&gt;, &lt;strong&gt;Reduce&lt;/strong&gt;, and &lt;strong&gt;Resample&lt;/strong&gt; options to generate separate alert for each series.&lt;/p&gt;


&lt;div class=&#34;admonition admonition-note&#34;&gt;&lt;blockquote&gt;&lt;p class=&#34;title text-uppercase&#34;&gt;Note&lt;/p&gt;&lt;p&gt;When using Prometheus, you can use an instant vector and built-in functions, so you don&amp;rsquo;t need to add additional expressions.&lt;/p&gt;&lt;/blockquote&gt;&lt;/div&gt;

&lt;p&gt;b. Click &lt;strong&gt;Preview&lt;/strong&gt; to verify that the expression is successful.&lt;/p&gt;
&lt;/li&gt;
&lt;/ol&gt;


&lt;div class=&#34;admonition admonition-note&#34;&gt;&lt;blockquote&gt;&lt;p class=&#34;title text-uppercase&#34;&gt;Note&lt;/p&gt;&lt;p&gt;The recovery threshold feature is currently only available in OSS.&lt;/p&gt;&lt;/blockquote&gt;&lt;/div&gt;

&lt;ol&gt;
&lt;li&gt;
&lt;p&gt;To add a recovery threshold, turn the &lt;strong&gt;Custom recovery threshold&lt;/strong&gt; toggle on and fill in a value for when your alert rule should stop firing.&lt;/p&gt;
&lt;p&gt;You can only add one recovery threshold in a query and it must be the alert condition.&lt;/p&gt;
&lt;/li&gt;
&lt;li&gt;
&lt;p&gt;Click &lt;strong&gt;Set as alert condition&lt;/strong&gt; on the query or expression you want to set as your alert condition.&lt;/p&gt;
&lt;/li&gt;
&lt;/ol&gt;
&lt;h2 id=&#34;set-alert-evaluation-behavior&#34;&gt;Set alert evaluation behavior&lt;/h2&gt;
&lt;p&gt;Use alert rule evaluation to determine how frequently an alert rule should be evaluated and how quickly it should change its state.&lt;/p&gt;
&lt;p&gt;To do this, you need to make sure that your alert rule is in the right evaluation group and set a pending period time that works best for your use case.&lt;/p&gt;
&lt;ol&gt;
&lt;li&gt;
&lt;p&gt;Select a folder or click &lt;strong&gt;&#43; New folder&lt;/strong&gt;.&lt;/p&gt;
&lt;/li&gt;
&lt;li&gt;
&lt;p&gt;Select an evaluation group or click &lt;strong&gt;&#43; New evaluation group&lt;/strong&gt;.&lt;/p&gt;
&lt;p&gt;If you are creating a new evaluation group, specify the interval for the group.&lt;/p&gt;
&lt;p&gt;All rules within the same group are evaluated concurrently over the same time interval.&lt;/p&gt;
&lt;/li&gt;
&lt;li&gt;
&lt;p&gt;Enter a pending period.&lt;/p&gt;
&lt;p&gt;The pending period is the period in which an alert rule can be in breach of the condition until it fires.&lt;/p&gt;
&lt;p&gt;Once a condition is met, the alert goes into the &lt;strong&gt;Pending&lt;/strong&gt; state. If the condition remains active for the duration specified, the alert transitions to the &lt;strong&gt;Firing&lt;/strong&gt; state, else it reverts to the &lt;strong&gt;Normal&lt;/strong&gt; state.&lt;/p&gt;
&lt;/li&gt;
&lt;li&gt;
&lt;p&gt;Turn on pause alert notifications, if required.&lt;/p&gt;


&lt;div class=&#34;admonition admonition-note&#34;&gt;&lt;blockquote&gt;&lt;p class=&#34;title text-uppercase&#34;&gt;Note&lt;/p&gt;&lt;p&gt;You can pause alert rule evaluation to prevent noisy alerting while tuning your alerts.
Pausing stops alert rule evaluation and doesn&amp;rsquo;t create any alert instances.
This is different to mute timings, which stop notifications from being delivered, but still allows for alert rule evaluation and the creation of alert instances.&lt;/p&gt;&lt;/blockquote&gt;&lt;/div&gt;

&lt;/li&gt;
&lt;li&gt;
&lt;p&gt;In &lt;strong&gt;Configure no data and error handling&lt;/strong&gt;, configure alerting behavior in the absence of data.&lt;/p&gt;
&lt;p&gt;Use the guidelines in &lt;a href=&#34;#configure-no-data-and-error-handling&#34;&gt;No data and error handling&lt;/a&gt;.&lt;/p&gt;
&lt;/li&gt;
&lt;/ol&gt;
&lt;h2 id=&#34;add-annotations&#34;&gt;Add annotations&lt;/h2&gt;
&lt;p&gt;Add 
    &lt;a href=&#34;/docs/grafana/v10.3/alerting/fundamentals/annotation-label/&#34;&gt;annotations&lt;/a&gt;. to provide more context on the alert in your alert notifications.&lt;/p&gt;
&lt;p&gt;Annotations add metadata to provide more information on the alert in your alert notifications. For example, add a &lt;strong&gt;Summary&lt;/strong&gt; annotation to tell you which value caused the alert to fire or which server it happened on.&lt;/p&gt;
&lt;ol&gt;
&lt;li&gt;
&lt;p&gt;[Optional] Add a summary.&lt;/p&gt;
&lt;p&gt;Short summary of what happened and why.&lt;/p&gt;
&lt;/li&gt;
&lt;li&gt;
&lt;p&gt;[Optional] Add a description.&lt;/p&gt;
&lt;p&gt;Description of what the alert rule does.&lt;/p&gt;
&lt;/li&gt;
&lt;li&gt;
&lt;p&gt;[Optional] Add a Runbook URL.&lt;/p&gt;
&lt;p&gt;Webpage where you keep your runbook for the alert&lt;/p&gt;
&lt;/li&gt;
&lt;li&gt;
&lt;p&gt;[Optional] Add a custom annotation&lt;/p&gt;
&lt;/li&gt;
&lt;li&gt;
&lt;p&gt;[Optional] Add a dashboard and panel link.&lt;/p&gt;
&lt;p&gt;Links alerts to panels in a dashboard.&lt;/p&gt;
&lt;/li&gt;
&lt;/ol&gt;
&lt;h2 id=&#34;configure-notifications&#34;&gt;Configure notifications&lt;/h2&gt;
&lt;p&gt;Add labels to your alert rules to set which notification policy should handle your firing alert instances.&lt;/p&gt;
&lt;p&gt;All alert rules and instances, irrespective of their labels, match the default notification policy. If there are no nested policies, or no nested policies match the labels in the alert rule or alert instance, then the default notification policy is the matching policy.&lt;/p&gt;
&lt;ol&gt;
&lt;li&gt;
&lt;p&gt;Add labels if you want to change the way your notifications are routed.&lt;/p&gt;
&lt;p&gt;Add custom labels by selecting existing key-value pairs from the drop down, or add new labels by entering the new key or value.&lt;/p&gt;
&lt;/li&gt;
&lt;li&gt;
&lt;p&gt;Preview your alert instance routing set up.&lt;/p&gt;
&lt;p&gt;Based on the labels added, alert instances are routed to the following notification policies displayed.&lt;/p&gt;
&lt;p&gt;Expand each notification policy below to view more details.&lt;/p&gt;
&lt;/li&gt;
&lt;li&gt;
&lt;p&gt;Click &lt;strong&gt;See details&lt;/strong&gt; to view alert routing details and an email preview.&lt;/p&gt;
&lt;/li&gt;
&lt;li&gt;
&lt;p&gt;Click &lt;strong&gt;Save rule&lt;/strong&gt;.&lt;/p&gt;
&lt;/li&gt;
&lt;/ol&gt;
&lt;h3 id=&#34;single-and-multi-dimensional-rule&#34;&gt;Single and multi-dimensional rule&lt;/h3&gt;
&lt;p&gt;For Grafana managed alerts, you can create a rule with a classic condition or you can create a multi-dimensional rule.&lt;/p&gt;
&lt;p&gt;&lt;strong&gt;Rule with classic condition&lt;/strong&gt;&lt;/p&gt;
&lt;p&gt;Use the classic condition expression to create a rule that triggers a single alert when its condition is met. For a query that returns multiple series, Grafana does not track the alert state of each series. As a result, Grafana sends only a single alert even when alert conditions are met for multiple series.&lt;/p&gt;
&lt;p&gt;For more information, see 
    &lt;a href=&#34;/docs/grafana/v10.3/panels-visualizations/query-transform-data/expression-queries/&#34;&gt;expressions documentation&lt;/a&gt;.&lt;/p&gt;
&lt;p&gt;&lt;strong&gt;Multi-dimensional rule&lt;/strong&gt;&lt;/p&gt;
&lt;p&gt;To generate a separate alert for each series, create a multi-dimensional rule. Use &lt;code&gt;Math&lt;/code&gt;, &lt;code&gt;Reduce&lt;/code&gt;, or &lt;code&gt;Resample&lt;/code&gt; expressions to create a multi-dimensional rule. For example:&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;Add a &lt;code&gt;Reduce&lt;/code&gt; expression for each query to aggregate values in the selected time range into a single value. (Not needed for 
    &lt;a href=&#34;/docs/grafana/v10.3/alerting/fundamentals/evaluate-grafana-alerts/#alerting-on-numeric-data-1&#34;&gt;rules using numeric data&lt;/a&gt;.&lt;/li&gt;
&lt;li&gt;Add a &lt;code&gt;Math&lt;/code&gt; expression with the condition for the rule. Not needed in case a query or a reduce expression already returns 0 if rule should not fire, or a positive number if it should fire. Some examples: &lt;code&gt;$B &amp;gt; 70&lt;/code&gt; if it should fire in case value of B query/expression is more than 70. &lt;code&gt;$B &amp;lt; $C * 100&lt;/code&gt; in case it should fire if value of B is less than value of C multiplied by 100. If queries being compared have multiple series in their results, series from different queries are matched if they have the same labels or one is a subset of the other.&lt;/li&gt;
&lt;/ul&gt;
&lt;p&gt;&lt;img
  class=&#34;lazyload d-inline-block&#34;
  data-src=&#34;/static/img/docs/alerting/unified/rule-edit-multi-8-0.png&#34;
  alt=&#34;Query section multi dimensional&#34; width=&#34;3648&#34;
     height=&#34;1302&#34;/&gt;&lt;/p&gt;
&lt;blockquote&gt;
&lt;p&gt;&lt;strong&gt;Note:&lt;/strong&gt; Grafana does not support alert queries with template variables. More information is available at &lt;a href=&#34;https://community.grafana.com/t/template-variables-are-not-supported-in-alert-queries-while-setting-up-alert/2514&#34; target=&#34;_blank&#34; rel=&#34;noopener noreferrer&#34;&gt;https://community.grafana.com/t/template-variables-are-not-supported-in-alert-queries-while-setting-up-alert/2514&lt;/a&gt;.&lt;/p&gt;&lt;/blockquote&gt;
&lt;h3 id=&#34;configure-no-data-and-error-handling&#34;&gt;Configure no data and error handling&lt;/h3&gt;
&lt;p&gt;Configure alerting behavior when your alert rule evaluation returns no data or an error.&lt;/p&gt;
&lt;p&gt;&lt;strong&gt;Note:&lt;/strong&gt; Alert rules that are configured to fire when an evaluation returns no data or error only fire when the entire duration of the evaluation period has finished. This means that rather than immediately firing when the alert rule condition is breached, the alert rule waits until the time set as the &lt;strong&gt;For&lt;/strong&gt; field has finished and then fires, reducing alert noise and allowing for temporary data availability issues.&lt;/p&gt;
&lt;p&gt;If your alert rule evaluation returns no data, you can set the state on your alert rule to appear as follows:&lt;/p&gt;
&lt;section class=&#34;expand-table-wrapper&#34;&gt;&lt;div class=&#34;button-div&#34;&gt;
      &lt;button class=&#34;expand-table-btn&#34;&gt;Expand table&lt;/button&gt;
    &lt;/div&gt;&lt;div class=&#34;responsive-table-wrapper&#34;&gt;
    &lt;table&gt;
      &lt;thead&gt;
          &lt;tr&gt;
              &lt;th&gt;No Data&lt;/th&gt;
              &lt;th&gt;Description&lt;/th&gt;
          &lt;/tr&gt;
      &lt;/thead&gt;
      &lt;tbody&gt;
          &lt;tr&gt;
              &lt;td&gt;No Data&lt;/td&gt;
              &lt;td&gt;Creates a new alert &lt;code&gt;DatasourceNoData&lt;/code&gt; with the name and UID of the alert rule, and UID of the datasource that returned no data as labels.&lt;/td&gt;
          &lt;/tr&gt;
          &lt;tr&gt;
              &lt;td&gt;Alerting&lt;/td&gt;
              &lt;td&gt;Sets alert rule state to &lt;code&gt;Alerting&lt;/code&gt;. The alert rule waits until the time set in the &lt;strong&gt;For&lt;/strong&gt; field has finished before firing.&lt;/td&gt;
          &lt;/tr&gt;
          &lt;tr&gt;
              &lt;td&gt;Ok&lt;/td&gt;
              &lt;td&gt;Sets alert rule state to &lt;code&gt;Normal&lt;/code&gt;.&lt;/td&gt;
          &lt;/tr&gt;
      &lt;/tbody&gt;
    &lt;/table&gt;
  &lt;/div&gt;
&lt;/section&gt;&lt;p&gt;If your evaluation returns an error, you can set the state on your alert rule to appear as follows:&lt;/p&gt;
&lt;section class=&#34;expand-table-wrapper&#34;&gt;&lt;div class=&#34;button-div&#34;&gt;
      &lt;button class=&#34;expand-table-btn&#34;&gt;Expand table&lt;/button&gt;
    &lt;/div&gt;&lt;div class=&#34;responsive-table-wrapper&#34;&gt;
    &lt;table&gt;
      &lt;thead&gt;
          &lt;tr&gt;
              &lt;th&gt;Error&lt;/th&gt;
              &lt;th&gt;Description&lt;/th&gt;
          &lt;/tr&gt;
      &lt;/thead&gt;
      &lt;tbody&gt;
          &lt;tr&gt;
              &lt;td&gt;Error&lt;/td&gt;
              &lt;td&gt;Creates an alert instance &lt;code&gt;DatasourceError&lt;/code&gt; with the name and UID of the alert rule, and UID of the datasource that returned no data as labels.&lt;/td&gt;
          &lt;/tr&gt;
          &lt;tr&gt;
              &lt;td&gt;Alerting&lt;/td&gt;
              &lt;td&gt;Sets alert rule state to &lt;code&gt;Alerting&lt;/code&gt;. The alert rule waits until the time set in the &lt;strong&gt;For&lt;/strong&gt; field has finished before firing.&lt;/td&gt;
          &lt;/tr&gt;
          &lt;tr&gt;
              &lt;td&gt;Ok&lt;/td&gt;
              &lt;td&gt;Sets alert rule state to &lt;code&gt;Normal&lt;/code&gt;.&lt;/td&gt;
          &lt;/tr&gt;
      &lt;/tbody&gt;
    &lt;/table&gt;
  &lt;/div&gt;
&lt;/section&gt;&lt;h3 id=&#34;resolve-stale-alert-instances&#34;&gt;Resolve stale alert instances&lt;/h3&gt;
&lt;p&gt;An alert instance is considered stale if its dimension or series has disappeared from the query results entirely for two evaluation intervals.&lt;/p&gt;
&lt;p&gt;Stale alert instances that are in the &lt;strong&gt;Alerting&lt;/strong&gt;/&lt;strong&gt;NoData&lt;/strong&gt;/&lt;strong&gt;Error&lt;/strong&gt; states are automatically marked as &lt;strong&gt;Resolved&lt;/strong&gt; and the grafana_state_reason annotation is added to the alert instance with the reason &lt;strong&gt;MissingSeries&lt;/strong&gt;.&lt;/p&gt;
&lt;h3 id=&#34;create-alerts-from-panels&#34;&gt;Create alerts from panels&lt;/h3&gt;
&lt;p&gt;Create alerts from any panel type. This means you can reuse the queries in the panel and create alerts based on them.&lt;/p&gt;
&lt;ol&gt;
&lt;li&gt;Navigate to a dashboard in the &lt;strong&gt;Dashboards&lt;/strong&gt; section.&lt;/li&gt;
&lt;li&gt;In the top right corner of the panel, click on the three dots (ellipses).&lt;/li&gt;
&lt;li&gt;From the dropdown menu, select &lt;strong&gt;More&amp;hellip;&lt;/strong&gt; and then choose &lt;strong&gt;New alert rule&lt;/strong&gt;.&lt;/li&gt;
&lt;/ol&gt;
&lt;p&gt;This will open the alert rule form, allowing you to configure and create your alert based on the current panel&amp;rsquo;s query.&lt;/p&gt;
]]></content><description>&lt;h1 id="configure-grafana-managed-alert-rules">Configure Grafana-managed alert rules&lt;/h1>
&lt;p>Grafana-managed rules are the most flexible alert rule type. They allow you to create alerts that can act on data from any of our supported data sources. In addition to supporting multiple data sources, you can also add expressions to transform your data and set alert conditions. Using images in alert notifications is also supported. This is the only type of rule that allows alerting from multiple data sources in a single rule definition.&lt;/p></description></item><item><title>Configure data source-managed alert rules</title><link>https://grafana.com/docs/grafana/v10.3/alerting/alerting-rules/create-mimir-loki-managed-rule/</link><pubDate>Mon, 16 Mar 2026 04:58:00 +0000</pubDate><guid>https://grafana.com/docs/grafana/v10.3/alerting/alerting-rules/create-mimir-loki-managed-rule/</guid><content><![CDATA[&lt;h1 id=&#34;configure-data-source-managed-alert-rules&#34;&gt;Configure data source-managed alert rules&lt;/h1&gt;
&lt;p&gt;Create alert rules for an external Grafana Mimir or Loki instance that has ruler API enabled; these are called data source-managed alert rules.&lt;/p&gt;
&lt;p&gt;&lt;strong&gt;Note&lt;/strong&gt;:&lt;/p&gt;
&lt;p&gt;Alert rules for an external Grafana Mimir or Loki instance can be edited or deleted by users with Editor or Admin roles.&lt;/p&gt;
&lt;p&gt;If you delete an alerting resource created in the UI, you can no longer retrieve it.
To make a backup of your configuration and to be able to restore deleted alerting resources, create your alerting resources using file provisioning, Terraform, or the Alerting API.&lt;/p&gt;
&lt;h2 id=&#34;before-you-begin&#34;&gt;Before you begin&lt;/h2&gt;
&lt;ul&gt;
&lt;li&gt;
&lt;p&gt;Verify that you have write permission to the Prometheus or Loki data source. Otherwise, you will not be able to create or update Grafana Mimir managed alert rules.&lt;/p&gt;
&lt;/li&gt;
&lt;li&gt;
&lt;p&gt;For Grafana Mimir and Loki data sources, enable the Ruler API by configuring their respective services.&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;
&lt;p&gt;&lt;strong&gt;Loki&lt;/strong&gt; - The &lt;code&gt;local&lt;/code&gt; rule storage type, default for the Loki data source, supports only viewing of rules. To edit rules, configure one of the other rule storage types.&lt;/p&gt;
&lt;/li&gt;
&lt;li&gt;
&lt;p&gt;&lt;strong&gt;Grafana Mimir&lt;/strong&gt; - use the &lt;code&gt;/prometheus&lt;/code&gt; prefix. The Prometheus data source supports both Grafana Mimir and Prometheus, and Grafana expects that both the &lt;a href=&#34;/docs/mimir/latest/operators-guide/reference-http-api/#querier--query-frontend&#34;&gt;Query API&lt;/a&gt; and &lt;a href=&#34;/docs/mimir/latest/operators-guide/reference-http-api/#ruler&#34;&gt;Ruler API&lt;/a&gt; are under the same URL. You cannot provide a separate URL for the Ruler API.&lt;/p&gt;
&lt;/li&gt;
&lt;/ul&gt;
&lt;/li&gt;
&lt;/ul&gt;
&lt;p&gt;Watch this video to learn more about how to create a Mimir managed alert rule: 




  
  
  


    &lt;figure
        class=&#34;responsive-video p-0 m-0&#34;
        x-data=&#34;{ vimeo_is_up: false, responded: false }&#34;
        x-init=&#34;fetch(`https://vimeo.com/api/oembed.json?url=https://vimeo.com/720001865`)
        .then(response =&gt; {
          responded = true;
          response &amp;&amp; response.status === 200 ? vimeo_is_up = true : vimeo_is_up = false;
        })
        .catch(error =&gt; {
          responded = true;
        })&#34;
    &gt;

      &lt;div class=&#34;minh-428&#34;&gt;
        &lt;template x-if=&#34;vimeo_is_up&#34;&gt;
        &lt;div style=&#34;position: relative; padding-bottom: 56.25%; height: 0; overflow: hidden;&#34;&gt;
          &lt;iframe src=&#34;https://player.vimeo.com/video/720001865?transparent=0&#34; style=&#34;position: absolute; top: 0; left: 0; width: 100%; height: 100%; border:0;&#34; title=&#34;vimeo video&#34; webkitallowfullscreen mozallowfullscreen allowfullscreen&gt;&lt;/iframe&gt;
        &lt;/div&gt;
      &lt;/template&gt;
      &lt;template x-if=&#34;responded &amp;&amp; !vimeo_is_up&#34;&gt;
        &lt;p class=&#34;bg-gray-17 p-1&#34;&gt;There&amp;rsquo;s supposed to be a video here, but for some reason there isn&amp;rsquo;t. Either we entered the id wrong (oops!), or Vimeo is down. If it&amp;rsquo;s the latter, we&amp;rsquo;d expect they&amp;rsquo;ll be back up and running soon. In the meantime, &lt;a href=&#34;/blog/&#34;&gt;check out our blog&lt;/a&gt;!&lt;/p&gt;
      &lt;/template&gt;
      &lt;/div&gt;

      
    &lt;/figure&gt;
&lt;/p&gt;


&lt;div class=&#34;admonition admonition-note&#34;&gt;&lt;blockquote&gt;&lt;p class=&#34;title text-uppercase&#34;&gt;Note&lt;/p&gt;&lt;p&gt;If you do not want to manage alert rules for a particular Loki or Prometheus data source, go to its settings and clear the &lt;strong&gt;Manage alerts via Alerting UI&lt;/strong&gt; checkbox.&lt;/p&gt;&lt;/blockquote&gt;&lt;/div&gt;

&lt;p&gt;In the following sections, we’ll guide you through the process of creating your data source-managed alert rules.&lt;/p&gt;
&lt;p&gt;To create a data source-managed alert rule, use the in-product alert creation flow and follow these steps to help you.&lt;/p&gt;
&lt;h2 id=&#34;set-alert-rule-name&#34;&gt;Set alert rule name&lt;/h2&gt;
&lt;ol&gt;
&lt;li&gt;
&lt;p&gt;Click &lt;strong&gt;Alerts &amp;amp; IRM&lt;/strong&gt; -&amp;gt; &lt;strong&gt;Alert rules&lt;/strong&gt; -&amp;gt; &lt;strong&gt;&#43; New alert rule&lt;/strong&gt;.&lt;/p&gt;
&lt;/li&gt;
&lt;li&gt;
&lt;p&gt;Enter a name to identify your alert rule.&lt;/p&gt;
&lt;p&gt;This name is displayed in the alert rule list. It is also the &lt;code&gt;alertname&lt;/code&gt; label for every alert instance that is created from this rule.&lt;/p&gt;
&lt;/li&gt;
&lt;/ol&gt;
&lt;h2 id=&#34;define-query-and-condition&#34;&gt;Define query and condition&lt;/h2&gt;
&lt;p&gt;Define a query to get the data you want to measure and a condition that needs to be met before an alert rule fires.&lt;/p&gt;
&lt;p&gt;&lt;strong&gt;Note&lt;/strong&gt;:&lt;/p&gt;
&lt;p&gt;All alert rules are managed by Grafana by default. To switch to a data source-managed alert rule, click &lt;strong&gt;Switch to data source-managed alert rule&lt;/strong&gt;.&lt;/p&gt;
&lt;ol&gt;
&lt;li&gt;
&lt;p&gt;Select a data source from the drop-down list.&lt;/p&gt;
&lt;p&gt;You can also click &lt;strong&gt;Open advanced data source picker&lt;/strong&gt; to see more options, including adding a data source (Admins only).&lt;/p&gt;
&lt;/li&gt;
&lt;li&gt;
&lt;p&gt;Enter a PromQL or LogQL query.&lt;/p&gt;
&lt;/li&gt;
&lt;li&gt;
&lt;p&gt;Click &lt;strong&gt;Preview alerts&lt;/strong&gt;.&lt;/p&gt;
&lt;/li&gt;
&lt;/ol&gt;
&lt;h2 id=&#34;set-alert-evaluation-behavior&#34;&gt;Set alert evaluation behavior&lt;/h2&gt;
&lt;p&gt;Use alert rule evaluation to determine how frequently an alert rule should be evaluated and how quickly it should change its state.&lt;/p&gt;
&lt;ol&gt;
&lt;li&gt;
&lt;p&gt;Select a namespace or click &lt;strong&gt;&#43; New namespace&lt;/strong&gt;.&lt;/p&gt;
&lt;/li&gt;
&lt;li&gt;
&lt;p&gt;Select an evaluation group or click &lt;strong&gt;&#43; New evaluation group&lt;/strong&gt;.&lt;/p&gt;
&lt;p&gt;If you are creating a new evaluation group, specify the interval for the group.&lt;/p&gt;
&lt;p&gt;All rules within the same group are evaluated sequentially over the same time interval.&lt;/p&gt;
&lt;/li&gt;
&lt;li&gt;
&lt;p&gt;Enter a pending period.&lt;/p&gt;
&lt;p&gt;The pending period is the period in which an alert rule can be in breach of the condition until it fires.&lt;/p&gt;
&lt;p&gt;Once a condition is met, the alert goes into the &lt;strong&gt;Pending&lt;/strong&gt; state. If the condition remains active for the duration specified, the alert transitions to the &lt;strong&gt;Firing&lt;/strong&gt; state, else it reverts to the &lt;strong&gt;Normal&lt;/strong&gt; state.&lt;/p&gt;
&lt;/li&gt;
&lt;/ol&gt;
&lt;h2 id=&#34;add-annotations&#34;&gt;Add annotations&lt;/h2&gt;
&lt;p&gt;Add 
    &lt;a href=&#34;/docs/grafana/v10.3/alerting/fundamentals/annotation-label/&#34;&gt;annotations&lt;/a&gt;. to provide more context on the alert in your alert notifications.&lt;/p&gt;
&lt;p&gt;Annotations add metadata to provide more information on the alert in your alert notifications. For example, add a &lt;strong&gt;Summary&lt;/strong&gt; annotation to tell you which value caused the alert to fire or which server it happened on.&lt;/p&gt;
&lt;ol&gt;
&lt;li&gt;
&lt;p&gt;[Optional] Add a summary.&lt;/p&gt;
&lt;p&gt;Short summary of what happened and why.&lt;/p&gt;
&lt;/li&gt;
&lt;li&gt;
&lt;p&gt;[Optional] Add a description.&lt;/p&gt;
&lt;p&gt;Description of what the alert rule does.&lt;/p&gt;
&lt;/li&gt;
&lt;li&gt;
&lt;p&gt;[Optional] Add a Runbook URL.&lt;/p&gt;
&lt;p&gt;Webpage where you keep your runbook for the alert&lt;/p&gt;
&lt;/li&gt;
&lt;li&gt;
&lt;p&gt;[Optional] Add a custom annotation&lt;/p&gt;
&lt;/li&gt;
&lt;li&gt;
&lt;p&gt;[Optional] Add a dashboard and panel link.&lt;/p&gt;
&lt;p&gt;Links alerts to panels in a dashboard.&lt;/p&gt;
&lt;/li&gt;
&lt;/ol&gt;
&lt;h2 id=&#34;configure-notifications&#34;&gt;Configure notifications&lt;/h2&gt;
&lt;p&gt;Add labels to your alert rules to set which notification policy should handle your firing alert instances.&lt;/p&gt;
&lt;p&gt;All alert rules and instances, irrespective of their labels, match the default notification policy. If there are no nested policies, or no nested policies match the labels in the alert rule or alert instance, then the default notification policy is the matching policy.&lt;/p&gt;
&lt;ol&gt;
&lt;li&gt;
&lt;p&gt;Add labels if you want to change the way your notifications are routed.&lt;/p&gt;
&lt;p&gt;Add custom labels by selecting existing key-value pairs from the drop down, or add new labels by entering the new key or value.&lt;/p&gt;
&lt;/li&gt;
&lt;li&gt;
&lt;p&gt;Click &lt;strong&gt;Save rule&lt;/strong&gt;.&lt;/p&gt;
&lt;/li&gt;
&lt;/ol&gt;
]]></content><description>&lt;h1 id="configure-data-source-managed-alert-rules">Configure data source-managed alert rules&lt;/h1>
&lt;p>Create alert rules for an external Grafana Mimir or Loki instance that has ruler API enabled; these are called data source-managed alert rules.&lt;/p></description></item><item><title>Configure recording rules</title><link>https://grafana.com/docs/grafana/v10.3/alerting/alerting-rules/create-mimir-loki-managed-recording-rule/</link><pubDate>Mon, 16 Mar 2026 04:58:00 +0000</pubDate><guid>https://grafana.com/docs/grafana/v10.3/alerting/alerting-rules/create-mimir-loki-managed-recording-rule/</guid><content><![CDATA[&lt;h1 id=&#34;configure-recording-rules&#34;&gt;Configure recording rules&lt;/h1&gt;
&lt;p&gt;You can create and manage recording rules for an external Grafana Mimir or Loki instance. Recording rules calculate frequently needed expressions or computationally expensive expressions in advance and save the result as a new set of time series. Querying this new time series is faster, especially for dashboards since they query the same expression every time the dashboards refresh.&lt;/p&gt;
&lt;p&gt;&lt;strong&gt;Note:&lt;/strong&gt;&lt;/p&gt;
&lt;p&gt;Recording rules are run as instant rules, which means that they run every 10s. To overwrite this configuration, update the min_interval in your custom configuration file.&lt;/p&gt;
&lt;p&gt;
    &lt;a href=&#34;/docs/grafana/v10.3/setup-grafana/configure-grafana/&#34;&gt;min_interval&lt;/a&gt; sets the minimum interval to enforce between rule evaluations. The default value is 10s which equals the scheduler interval. Rules will be adjusted if they are less than this value or if they are not multiple of the scheduler interval (10s). Higher values can help with resource management as fewer evaluations are scheduled over time.&lt;/p&gt;
&lt;p&gt;This setting has precedence over each individual rule frequency. If a rule frequency is lower than this value, then this value is enforced.&lt;/p&gt;
&lt;h2 id=&#34;before-you-begin&#34;&gt;Before you begin&lt;/h2&gt;
&lt;ul&gt;
&lt;li&gt;
&lt;p&gt;Verify that you have write permission to the Prometheus or Loki data source. Otherwise, you will not be able to create or update Grafana Mimir managed alerting rules.&lt;/p&gt;
&lt;/li&gt;
&lt;li&gt;
&lt;p&gt;For Grafana Mimir and Loki data sources, enable the ruler API by configuring their respective services.&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;
&lt;p&gt;&lt;strong&gt;Loki&lt;/strong&gt; - The &lt;code&gt;local&lt;/code&gt; rule storage type, default for the Loki data source, supports only viewing of rules. To edit rules, configure one of the other rule storage types.&lt;/p&gt;
&lt;/li&gt;
&lt;li&gt;
&lt;p&gt;&lt;strong&gt;Grafana Mimir&lt;/strong&gt; - use the &lt;code&gt;/prometheus&lt;/code&gt; prefix. The Prometheus data source supports both Grafana Mimir and Prometheus, and Grafana expects that both the &lt;a href=&#34;/docs/mimir/latest/operators-guide/reference-http-api/#querier--query-frontend&#34;&gt;Query API&lt;/a&gt; and &lt;a href=&#34;/docs/mimir/latest/operators-guide/reference-http-api/#ruler&#34;&gt;Ruler API&lt;/a&gt; are under the same URL. You cannot provide a separate URL for the Ruler API.&lt;/p&gt;
&lt;/li&gt;
&lt;/ul&gt;
&lt;/li&gt;
&lt;/ul&gt;
&lt;h2 id=&#34;create-recording-rules&#34;&gt;Create recording rules&lt;/h2&gt;
&lt;p&gt;To create recording rules, follow these steps.&lt;/p&gt;
&lt;ol&gt;
&lt;li&gt;
&lt;p&gt;Click &lt;strong&gt;Alerts &amp;amp; IRM&lt;/strong&gt; -&amp;gt; &lt;strong&gt;Alerting&lt;/strong&gt; -&amp;gt;
&lt;strong&gt;Alert rules&lt;/strong&gt;.&lt;/p&gt;
&lt;/li&gt;
&lt;li&gt;
&lt;p&gt;Click the &lt;strong&gt;More&lt;/strong&gt; dropdown and then &lt;strong&gt;New recording rule&lt;/strong&gt;.&lt;/p&gt;
&lt;/li&gt;
&lt;li&gt;
&lt;p&gt;Set rule name.&lt;/p&gt;
&lt;p&gt;The recording rule name must be a Prometheus metric name and contain no whitespace.&lt;/p&gt;
&lt;/li&gt;
&lt;li&gt;
&lt;p&gt;Define query.&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;Select your Loki or Prometheus data source.&lt;/li&gt;
&lt;li&gt;Enter a query.&lt;/li&gt;
&lt;/ul&gt;
&lt;/li&gt;
&lt;li&gt;
&lt;p&gt;Add namespace and group.&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;From the &lt;strong&gt;Namespace&lt;/strong&gt; dropdown, select an existing rule namespace or add a new one. Namespaces can contain one or more rule groups and only have an organizational purpose.&lt;/li&gt;
&lt;li&gt;From the &lt;strong&gt;Group&lt;/strong&gt; dropdown, select an existing group within the selected namespace or add a new one. Newly created rules are appended to the end of the group. Rules within a group are run sequentially at a regular interval, with the same evaluation time.&lt;/li&gt;
&lt;/ul&gt;
&lt;/li&gt;
&lt;li&gt;
&lt;p&gt;Add labels.&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;Add custom labels selecting existing key-value pairs from the drop down, or add new labels by entering the new key or value .&lt;/li&gt;
&lt;/ul&gt;
&lt;/li&gt;
&lt;li&gt;
&lt;p&gt;Click &lt;strong&gt;Save rule&lt;/strong&gt; to save the rule or &lt;strong&gt;Save rule and exit&lt;/strong&gt; to save the rule and go back to the Alerting page.&lt;/p&gt;
&lt;/li&gt;
&lt;/ol&gt;
]]></content><description>&lt;h1 id="configure-recording-rules">Configure recording rules&lt;/h1>
&lt;p>You can create and manage recording rules for an external Grafana Mimir or Loki instance. Recording rules calculate frequently needed expressions or computationally expensive expressions in advance and save the result as a new set of time series. Querying this new time series is faster, especially for dashboards since they query the same expression every time the dashboards refresh.&lt;/p></description></item><item><title>Configure contact points</title><link>https://grafana.com/docs/grafana/v10.3/alerting/alerting-rules/manage-contact-points/</link><pubDate>Mon, 16 Mar 2026 04:58:00 +0000</pubDate><guid>https://grafana.com/docs/grafana/v10.3/alerting/alerting-rules/manage-contact-points/</guid><content><![CDATA[&lt;h1 id=&#34;configure-contact-points&#34;&gt;Configure contact points&lt;/h1&gt;
&lt;p&gt;Use contact points to define how your contacts are notified when an alert rule fires. You can add, edit, delete, and test a contact point.&lt;/p&gt;
&lt;h2 id=&#34;add-a-contact-point&#34;&gt;Add a contact point&lt;/h2&gt;
&lt;p&gt;Complete the following steps to add a contact point.&lt;/p&gt;
&lt;ol&gt;
&lt;li&gt;In the left-side menu, click &lt;strong&gt;Alerts &amp;amp; IRM&lt;/strong&gt; and then &lt;strong&gt;Alerting&lt;/strong&gt;.&lt;/li&gt;
&lt;li&gt;Click &lt;strong&gt;Contact points&lt;/strong&gt;.&lt;/li&gt;
&lt;li&gt;From the &lt;strong&gt;Choose Alertmanager&lt;/strong&gt; dropdown, select an Alertmanager. By default, &lt;strong&gt;Grafana Alertmanager&lt;/strong&gt; is selected.&lt;/li&gt;
&lt;li&gt;On the &lt;strong&gt;Contact Points&lt;/strong&gt; tab, click &lt;strong&gt;&#43; Add contact point&lt;/strong&gt;.&lt;/li&gt;
&lt;li&gt;Enter a descriptive name for the contact point.&lt;/li&gt;
&lt;li&gt;From &lt;strong&gt;Integration&lt;/strong&gt;, select a type and fill out mandatory fields. For example, if you choose email, enter the email addresses. Or if you choose Slack, enter the Slack channel(s) and users who should be contacted.&lt;/li&gt;
&lt;li&gt;Some contact point integrations, like email or webhook, have optional settings. In &lt;strong&gt;Optional settings&lt;/strong&gt;, specify additional settings for the selected contact point integration.&lt;/li&gt;
&lt;li&gt;In Notification settings, optionally select &lt;strong&gt;Disable resolved message&lt;/strong&gt; if you do not want to be notified when an alert resolves.&lt;/li&gt;
&lt;li&gt;To add another contact point integration, click &lt;strong&gt;Add contact point integration&lt;/strong&gt; and repeat steps 6 through 8.&lt;/li&gt;
&lt;li&gt;Save your changes.&lt;/li&gt;
&lt;/ol&gt;
&lt;h2 id=&#34;edit-a-contact-point&#34;&gt;Edit a contact point&lt;/h2&gt;
&lt;p&gt;Complete the following steps to edit a contact point.&lt;/p&gt;
&lt;ol&gt;
&lt;li&gt;In the left-side menu, click &lt;strong&gt;Alerts &amp;amp; IRM&lt;/strong&gt; and then &lt;strong&gt;Alerting&lt;/strong&gt;.&lt;/li&gt;
&lt;li&gt;Click &lt;strong&gt;Contact points&lt;/strong&gt; to view a list of existing contact points.&lt;/li&gt;
&lt;li&gt;On the &lt;strong&gt;Contact Points&lt;/strong&gt; tab, find the contact point you want to edit, and then click &lt;strong&gt;Edit&lt;/strong&gt;.&lt;/li&gt;
&lt;li&gt;Update the contact point and save your changes.&lt;/li&gt;
&lt;/ol&gt;
&lt;h2 id=&#34;delete-a-contact-point&#34;&gt;Delete a contact point&lt;/h2&gt;
&lt;p&gt;Complete the following steps to delete a contact point.&lt;/p&gt;
&lt;ol&gt;
&lt;li&gt;In the left-side menu, click &lt;strong&gt;Alerts &amp;amp; IRM&lt;/strong&gt; and then &lt;strong&gt;Alerting&lt;/strong&gt;.&lt;/li&gt;
&lt;li&gt;Click &lt;strong&gt;Contact points&lt;/strong&gt; to view a list of existing contact points.&lt;/li&gt;
&lt;li&gt;On the &lt;strong&gt;Contact Points&lt;/strong&gt; tab, find the contact point you want to delete, and then click &lt;strong&gt;More&lt;/strong&gt; -&amp;gt; &lt;strong&gt;Delete&lt;/strong&gt;.&lt;/li&gt;
&lt;li&gt;In the confirmation dialog, click &lt;strong&gt;Yes, delete&lt;/strong&gt;.&lt;/li&gt;
&lt;/ol&gt;


&lt;div class=&#34;admonition admonition-note&#34;&gt;&lt;blockquote&gt;&lt;p class=&#34;title text-uppercase&#34;&gt;Note&lt;/p&gt;&lt;p&gt;You cannot delete contact points that are in use by a notification policy. Either delete the notification policy or update it to use another contact point.&lt;/p&gt;&lt;/blockquote&gt;&lt;/div&gt;

&lt;h2 id=&#34;test-a-contact-point&#34;&gt;Test a contact point&lt;/h2&gt;
&lt;p&gt;Complete the following steps to test a contact point.&lt;/p&gt;
&lt;ol&gt;
&lt;li&gt;In the left-side menu, click &lt;strong&gt;Alerts &amp;amp; IRM&lt;/strong&gt; and then &lt;strong&gt;Alerting&lt;/strong&gt;.&lt;/li&gt;
&lt;li&gt;Click &lt;strong&gt;Contact points&lt;/strong&gt; to view a list of existing contact points.&lt;/li&gt;
&lt;li&gt;On the &lt;strong&gt;Contact Points&lt;/strong&gt; tab, find the contact point you want to test, then click &lt;strong&gt;Edit&lt;/strong&gt;. You can also create a new contact point if needed.&lt;/li&gt;
&lt;li&gt;Click &lt;strong&gt;Test&lt;/strong&gt; to open the contact point testing modal.&lt;/li&gt;
&lt;li&gt;Choose whether to send a predefined test notification or choose custom to add your own custom annotations and labels to include in the notification.&lt;/li&gt;
&lt;li&gt;Click &lt;strong&gt;Send test notification&lt;/strong&gt; to fire the alert.&lt;/li&gt;
&lt;/ol&gt;
]]></content><description>&lt;h1 id="configure-contact-points">Configure contact points&lt;/h1>
&lt;p>Use contact points to define how your contacts are notified when an alert rule fires. You can add, edit, delete, and test a contact point.&lt;/p></description></item><item><title>Configure notification policies</title><link>https://grafana.com/docs/grafana/v10.3/alerting/alerting-rules/create-notification-policy/</link><pubDate>Mon, 16 Mar 2026 04:58:00 +0000</pubDate><guid>https://grafana.com/docs/grafana/v10.3/alerting/alerting-rules/create-notification-policy/</guid><content><![CDATA[&lt;h1 id=&#34;configure-notification-policies&#34;&gt;Configure notification policies&lt;/h1&gt;
&lt;p&gt;Notification policies determine how alerts are routed to contact points.&lt;/p&gt;
&lt;p&gt;Policies have a tree structure, where each policy can have one or more nested policies. Each policy, except for the default policy, can also match specific alert labels.&lt;/p&gt;
&lt;p&gt;Each alert is evaluated by the default policy and subsequently by each nested policy.&lt;/p&gt;
&lt;p&gt;If the &lt;strong&gt;Continue matching subsequent sibling nodes&lt;/strong&gt; option is enabled for a nested policy, then evaluation continues even after one or more matches. A parent policy’s configuration settings and contact point information govern the behavior of an alert that does not match any of the nested policies. A default policy governs any alert that does not match a nested policy.&lt;/p&gt;
&lt;p&gt;You can configure Grafana-managed notification policies as well as notification policies for an external Alertmanager data source.&lt;/p&gt;
&lt;p&gt;For more information on notification policies, see 
    &lt;a href=&#34;/docs/grafana/v10.3/alerting/fundamentals/notification-policies/&#34;&gt;fundamentals of Notification Policies&lt;/a&gt;.&lt;/p&gt;
&lt;h2 id=&#34;edit-default-notification-policy&#34;&gt;Edit default notification policy&lt;/h2&gt;


&lt;div class=&#34;admonition admonition-note&#34;&gt;&lt;blockquote&gt;&lt;p class=&#34;title text-uppercase&#34;&gt;Note&lt;/p&gt;&lt;p&gt;Before Grafana v8.2, the configuration of the embedded Alertmanager was shared across organizations. Users of Grafana 8.0 and 8.1 are advised to use the new Grafana 8 Alerts only if they have one organization. Otherwise, silences for the Grafana managed alerts will be visible by all organizations.&lt;/p&gt;&lt;/blockquote&gt;&lt;/div&gt;

&lt;ol&gt;
&lt;li&gt;In the left-side menu, click &lt;strong&gt;Alerts &amp;amp; IRM&lt;/strong&gt; and then &lt;strong&gt;Alerting&lt;/strong&gt;.&lt;/li&gt;
&lt;li&gt;Click &lt;strong&gt;Notification policies&lt;/strong&gt;.&lt;/li&gt;
&lt;li&gt;From the &lt;strong&gt;Choose Alertmanager&lt;/strong&gt; dropdown, select an external Alertmanager. By default, the &lt;strong&gt;Grafana Alertmanager&lt;/strong&gt; is selected.&lt;/li&gt;
&lt;li&gt;In the Default policy section, click &lt;strong&gt;&amp;hellip;&lt;/strong&gt; -&amp;gt; &lt;strong&gt;Edit&lt;/strong&gt;.&lt;/li&gt;
&lt;li&gt;In &lt;strong&gt;Default contact point&lt;/strong&gt;, update the contact point to whom notifications should be sent for rules when alert rules do not match any specific policy.&lt;/li&gt;
&lt;li&gt;In &lt;strong&gt;Group by&lt;/strong&gt;, choose labels to group alerts by. If multiple alerts are matched for this policy, then they are grouped by these labels. A notification is sent per group. If the field is empty (default), then all notifications are sent in a single group. Use a special label &lt;code&gt;...&lt;/code&gt; to group alerts by all labels (which effectively disables grouping).&lt;/li&gt;
&lt;li&gt;In &lt;strong&gt;Timing options&lt;/strong&gt;, select from the following options:
&lt;ul&gt;
&lt;li&gt;&lt;strong&gt;Group wait&lt;/strong&gt; Time to wait to buffer alerts of the same group before sending an initial notification. Default is 30 seconds.&lt;/li&gt;
&lt;li&gt;&lt;strong&gt;Group interval&lt;/strong&gt; Minimum time interval between two notifications for a group. Default is 5 minutes.&lt;/li&gt;
&lt;li&gt;&lt;strong&gt;Repeat interval&lt;/strong&gt; Minimum time interval for re-sending a notification if no new alerts were added to the group. Default is 4 hours.&lt;/li&gt;
&lt;/ul&gt;
&lt;/li&gt;
&lt;li&gt;Click &lt;strong&gt;Save&lt;/strong&gt; to save your changes.&lt;/li&gt;
&lt;/ol&gt;
&lt;h2 id=&#34;add-new-nested-policy&#34;&gt;Add new nested policy&lt;/h2&gt;
&lt;p&gt;To create a new notification policy, you need to follow its tree structure. New policies created on the trunk of the tree (default policy), are the tree branches. And, subsequently, each branch can bear their own child policies. This is why you will always be adding a new &lt;strong&gt;nested&lt;/strong&gt; policy under either the default policy, or under a already nested policy.&lt;/p&gt;
&lt;ol&gt;
&lt;li&gt;In the left-side menu, click &lt;strong&gt;Alerts &amp;amp; IRM&lt;/strong&gt; and then &lt;strong&gt;Alerting&lt;/strong&gt;.&lt;/li&gt;
&lt;li&gt;Click &lt;strong&gt;Notification policies&lt;/strong&gt;.&lt;/li&gt;
&lt;li&gt;From the &lt;strong&gt;Choose Alertmanager&lt;/strong&gt; dropdown, select an Alertmanager. By default, the &lt;strong&gt;Grafana Alertmanager&lt;/strong&gt; is selected.&lt;/li&gt;
&lt;li&gt;To add a top level specific policy, go to the Specific routing section (either to the default policy, or to another existing policy in which you would like to add a new nested policy) and click &lt;strong&gt;&#43;New nested policy&lt;/strong&gt;.&lt;/li&gt;
&lt;li&gt;In the Matching labels section, add one or more rules for matching alert labels.&lt;/li&gt;
&lt;li&gt;In the &lt;strong&gt;Contact point&lt;/strong&gt; dropdown, select the contact point to send notification to if alert matches only this specific policy and not any of the nested policies.&lt;/li&gt;
&lt;li&gt;Optionally, enable &lt;strong&gt;Continue matching subsequent sibling nodes&lt;/strong&gt; to continue matching sibling policies even after the alert matched the current policy. When this option is enabled, you can get more than one notification for one alert.&lt;/li&gt;
&lt;li&gt;Optionally, enable &lt;strong&gt;Override grouping&lt;/strong&gt; to specify the same grouping as the default policy. If this option is not enabled, the default policy grouping is used.&lt;/li&gt;
&lt;li&gt;Optionally, enable &lt;strong&gt;Override general timings&lt;/strong&gt; to override the timing options configured in the group notification policy.&lt;/li&gt;
&lt;li&gt;Click &lt;strong&gt;Save policy&lt;/strong&gt; to save your changes.&lt;/li&gt;
&lt;/ol&gt;
&lt;h2 id=&#34;add-nested-policy&#34;&gt;Add nested policy&lt;/h2&gt;
&lt;ol&gt;
&lt;li&gt;In the left-side menu, click &lt;strong&gt;Alerts &amp;amp; IRM&lt;/strong&gt; and then &lt;strong&gt;Alerting&lt;/strong&gt;.&lt;/li&gt;
&lt;li&gt;Click &lt;strong&gt;Notification policies&lt;/strong&gt;.&lt;/li&gt;
&lt;li&gt;Expand the specific policy you want to update.&lt;/li&gt;
&lt;li&gt;Click &lt;strong&gt;&#43; Add nested policy&lt;/strong&gt;, then add the details using information in &lt;a href=&#34;#add-new-nested-policy&#34;&gt;Add new specific policy&lt;/a&gt;.&lt;/li&gt;
&lt;li&gt;Click &lt;strong&gt;Save policy&lt;/strong&gt; to save your changes.&lt;/li&gt;
&lt;/ol&gt;
&lt;h2 id=&#34;edit-notification-policies&#34;&gt;Edit notification policies&lt;/h2&gt;
&lt;ol&gt;
&lt;li&gt;In the left-side menu, click &lt;strong&gt;Alerts &amp;amp; IRM&lt;/strong&gt;, and then &lt;strong&gt;Alerting&lt;/strong&gt;.&lt;/li&gt;
&lt;li&gt;Click &lt;strong&gt;Notification policies&lt;/strong&gt;.&lt;/li&gt;
&lt;li&gt;Find the policy you want to edit, then click &lt;strong&gt;&amp;hellip;&lt;/strong&gt; -&amp;gt; &lt;strong&gt;Edit&lt;/strong&gt;.&lt;/li&gt;
&lt;li&gt;Make any changes using instructions in &lt;a href=&#34;#add-new-nested-policy&#34;&gt;Add new specific policy&lt;/a&gt;.&lt;/li&gt;
&lt;li&gt;Save your changes.&lt;/li&gt;
&lt;/ol&gt;
&lt;h2 id=&#34;searching-for-policies&#34;&gt;Searching for policies&lt;/h2&gt;
&lt;p&gt;Grafana allows you to search within the tree of policies by the following:&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;&lt;strong&gt;Label matchers&lt;/strong&gt;&lt;/li&gt;
&lt;li&gt;&lt;strong&gt;Contact Points&lt;/strong&gt;&lt;/li&gt;
&lt;/ul&gt;
&lt;p&gt;To search by contact point simply select a contact point from the &lt;strong&gt;Search by contact point&lt;/strong&gt; dropdown. The policies that use that contact point will be highlighted in the user interface.&lt;/p&gt;
&lt;p&gt;To search by label matchers simply enter a valid matcher in the &lt;strong&gt;Search by matchers&lt;/strong&gt; input field. Multiple matchers can be combined with a comma (&lt;code&gt;,&lt;/code&gt;).&lt;/p&gt;
&lt;p&gt;An example of a valid matchers search input is:&lt;/p&gt;
&lt;p&gt;&lt;code&gt;severity=high, region=~EMEA|NASA&lt;/code&gt;&lt;/p&gt;
&lt;blockquote&gt;
&lt;p&gt;All matched policies will be &lt;strong&gt;exact&lt;/strong&gt; matches, we currently do not support regex-style or partial matching.&lt;/p&gt;&lt;/blockquote&gt;
&lt;h2 id=&#34;example&#34;&gt;Example&lt;/h2&gt;
&lt;p&gt;An example of an alert configuration.&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;Create a &amp;ldquo;default&amp;rdquo; contact point for slack notifications, and set it on the default policy.&lt;/li&gt;
&lt;li&gt;Edit the default policy grouping to group alerts by &lt;code&gt;cluster&lt;/code&gt;, &lt;code&gt;namespace&lt;/code&gt; and &lt;code&gt;severity&lt;/code&gt; so that you get a notification per alert rule and specific kubernetes cluster and namespace.&lt;/li&gt;
&lt;li&gt;Create specific route for alerts coming from the development cluster with an appropriate contact point.&lt;/li&gt;
&lt;li&gt;Create a specific route for alerts with &amp;ldquo;critical&amp;rdquo; severity with a more invasive contact point integration, like pager duty notification.&lt;/li&gt;
&lt;li&gt;Create specific routes for particular teams that handle their own on-call rotations.&lt;/li&gt;
&lt;/ul&gt;
]]></content><description>&lt;h1 id="configure-notification-policies">Configure notification policies&lt;/h1>
&lt;p>Notification policies determine how alerts are routed to contact points.&lt;/p>
&lt;p>Policies have a tree structure, where each policy can have one or more nested policies. Each policy, except for the default policy, can also match specific alert labels.&lt;/p></description></item></channel></rss>