<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom"><channel><title>Alerts on Grafana Labs</title><link>https://grafana.com/docs/grafana/v8.0/alerting/</link><description>Recent content in Alerts on Grafana Labs</description><generator>Hugo -- gohugo.io</generator><language>en</language><atom:link href="/docs/grafana/v8.0/alerting/index.xml" rel="self" type="application/rss+xml"/><item><title>What's New with Grafana 8 Alerts</title><link>https://grafana.com/docs/grafana/v8.0/alerting/difference-old-new/</link><pubDate>Thu, 05 Aug 2021 18:36:26 +0200</pubDate><guid>https://grafana.com/docs/grafana/v8.0/alerting/difference-old-new/</guid><content><![CDATA[&lt;h1 id=&#34;whats-new-with-grafana-8-alerts&#34;&gt;What&amp;rsquo;s New with Grafana 8 Alerts&lt;/h1&gt;
&lt;p&gt;The Alerts released with Grafana 8.0 are an opt-in feature that centralizes alerting information for Grafana managed alerts and alerts from Prometheus-compatible datasources in one UI and API. You are able to create and edit alerting rules for Grafana managed alerts, Cortex alerts, and Loki alerts as well as see alerting information from prometheus-compatible datasources in a single, searchable view.&lt;/p&gt;
&lt;h2 id=&#34;multi-dimensional-alerting&#34;&gt;Multi-dimensional alerting&lt;/h2&gt;
&lt;p&gt;Create alerts that will give you system-wide visibility with a single alerting rule. With Grafana 8 alerts, you are able to generate multiple alert instances from a single rule eg. creating a rule to monitor disk usage for multiple mount points on a single host. The evaluation engine is able to return multiple time series from a single query. Each time series is identified by its label set.&lt;/p&gt;
&lt;h2 id=&#34;create-alerts-outside-of-dashboards&#34;&gt;Create alerts outside of Dashboards&lt;/h2&gt;
&lt;p&gt;Grafana legacy alerts were tied to a dashboard. Grafana 8 Alerts allow you to create queries and expressions that can combine data from multiple sources, in unique ways. You are still able to link dashboards and panels to alerting rules, allowing you to quickly troubleshoot the system under observation, by linking a dashboard and/or panel ID to the alerting rule.&lt;/p&gt;
&lt;h2 id=&#34;create-loki-and-cortex-alerting-rules&#34;&gt;Create Loki and Cortex alerting rules&lt;/h2&gt;
&lt;p&gt;With Grafana 8 Alerts you are able to manage your Loki and Cortex alerting rules using the same UI and API as your Grafana managed alerts.&lt;/p&gt;
&lt;h2 id=&#34;view-and-search-for-alerts-from-prometheus&#34;&gt;View and search for alerts from Prometheus&lt;/h2&gt;
&lt;p&gt;You can now display all of your alerting information in one, searchable UI. Alerts for Prometheus compatible datasources are listed below Grafana managed alerts. Search for labels across multiple datasources to quickly find all of the relevant alerts.&lt;/p&gt;
]]></content><description>&lt;h1 id="whats-new-with-grafana-8-alerts">What&amp;rsquo;s New with Grafana 8 Alerts&lt;/h1>
&lt;p>The Alerts released with Grafana 8.0 are an opt-in feature that centralizes alerting information for Grafana managed alerts and alerts from Prometheus-compatible datasources in one UI and API. You are able to create and edit alerting rules for Grafana managed alerts, Cortex alerts, and Loki alerts as well as see alerting information from prometheus-compatible datasources in a single, searchable view.&lt;/p></description></item><item><title>Grafana 8 Alerts</title><link>https://grafana.com/docs/grafana/v8.0/alerting/unified-alerting/</link><pubDate>Fri, 07 Mar 2025 11:34:44 +0100</pubDate><guid>https://grafana.com/docs/grafana/v8.0/alerting/unified-alerting/</guid><content><![CDATA[&lt;h1 id=&#34;overview-of-grafana-8-alerts&#34;&gt;Overview of Grafana 8 alerts&lt;/h1&gt;
&lt;p&gt;Alerts allow you to know about problems in your systems moments after they occur. Robust and actionable alerts help you identify and resolve issues quickly, minimizing disruption to your services.&lt;/p&gt;
&lt;blockquote&gt;
&lt;p&gt;&lt;strong&gt;Note:&lt;/strong&gt; This information is for the new, Grafana 8 Alerts. This is an &lt;a href=&#34;opt-in/&#34;&gt;opt-in&lt;/a&gt; feature released in Grafana 8.0. Grafana still supports &lt;a href=&#34;../old-alerting/&#34;&gt;legacy dashboard alerts&lt;/a&gt; out of the box&lt;/p&gt;&lt;/blockquote&gt;
&lt;p&gt;Alerts have four main components:&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;Alerting rule - One or more query and/or expression, a condition, the frequency of evaluation, and the (optional) duration that a condition must be met before creating an alert.&lt;/li&gt;
&lt;li&gt;Contact point - A channel for sending notifications when the conditions of an alerting rule are met.&lt;/li&gt;
&lt;li&gt;Notification policy - A set of matching and grouping criteria used to determine where, and how frequently, to send notifications.&lt;/li&gt;
&lt;li&gt;Silences - Date and matching criteria used to silence notifications.&lt;/li&gt;
&lt;/ul&gt;
&lt;h2 id=&#34;alerting-tasks&#34;&gt;Alerting tasks&lt;/h2&gt;
&lt;p&gt;You can perform the following tasks for alerts:&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;&lt;a href=&#34;alerting-rules/create-grafana-managed-rule/&#34;&gt;Create a Grafana managed alert rule&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;&lt;a href=&#34;alerting-rules/create-cortex-loki-managed-rule/&#34;&gt;Create a Cortex or Loki managed alert rule&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;&lt;a href=&#34;alerting-rules/rule-list/&#34;&gt;View existing alert rules and their current state&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;&lt;a href=&#34;contact-points/&#34;&gt;Add or edit an alert contact point&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;&lt;a href=&#34;notification-policies/&#34;&gt;Add or edit notification policies&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;&lt;a href=&#34;silences/&#34;&gt;Create and edit silences&lt;/a&gt;&lt;/li&gt;
&lt;/ul&gt;
&lt;h2 id=&#34;clustering&#34;&gt;Clustering&lt;/h2&gt;
&lt;p&gt;The current alerting system doesn&amp;rsquo;t support high availability. Alert notifications are not deduplicated and load balancing is not supported between instances e.g. silences from one instance will not appear in the other. The Grafana team aims to have this feature by Grafana version 8.1&#43;.&lt;/p&gt;
&lt;h2 id=&#34;alert-evaluation&#34;&gt;Alert evaluation&lt;/h2&gt;
&lt;p&gt;Grafana managed alerts are evaluated by the Grafana backend. Rule evaluations are scheduled, according to the alert rule configuration, and queries are evaluated by an engine that is part of core Grafana.&lt;/p&gt;
&lt;p&gt;Alerting rules can only query backend data sources with alerting enabled:&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;builtin or developed and maintained by grafana: &lt;code&gt;Graphite&lt;/code&gt;, &lt;code&gt;Prometheus&lt;/code&gt;, &lt;code&gt;Loki&lt;/code&gt;, &lt;code&gt;InfluxDB&lt;/code&gt;, &lt;code&gt;Elasticsearch&lt;/code&gt;,
&lt;code&gt;Google Cloud Monitoring&lt;/code&gt;, &lt;code&gt;Cloudwatch&lt;/code&gt;, &lt;code&gt;Azure Monitor&lt;/code&gt;, &lt;code&gt;MySQL&lt;/code&gt;, &lt;code&gt;PostgreSQL&lt;/code&gt;, &lt;code&gt;MSSQL&lt;/code&gt;, &lt;code&gt;OpenTSDB&lt;/code&gt;, &lt;code&gt;Oracle&lt;/code&gt;, and &lt;code&gt;Azure Data Explorer&lt;/code&gt;&lt;/li&gt;
&lt;li&gt;any community backend data sources with alerting enabled (&lt;code&gt;backend&lt;/code&gt; and &lt;code&gt;alerting&lt;/code&gt; properties are set in the &lt;a href=&#34;/developers/plugin-tools/reference-plugin-json&#34;&gt;plugin.json&lt;/a&gt;)&lt;/li&gt;
&lt;/ul&gt;
&lt;h2 id=&#34;metrics-from-the-alerting-engine&#34;&gt;Metrics from the alerting engine&lt;/h2&gt;
&lt;p&gt;The alerting engine publishes some internal metrics about itself. You can read more about how Grafana publishes &lt;a href=&#34;../../administration/view-server/internal-metrics/&#34;&gt;internal metrics&lt;/a&gt;.&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;Metric Name&lt;/th&gt;
              &lt;th&gt;Type&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;&lt;code&gt;alerting.alerts&lt;/code&gt;&lt;/td&gt;
              &lt;td&gt;gauge&lt;/td&gt;
              &lt;td&gt;How many alerts by state&lt;/td&gt;
          &lt;/tr&gt;
          &lt;tr&gt;
              &lt;td&gt;&lt;code&gt;alerting.request_duration_seconds&lt;/code&gt;&lt;/td&gt;
              &lt;td&gt;histogram&lt;/td&gt;
              &lt;td&gt;Histogram of requests to the Alerting API&lt;/td&gt;
          &lt;/tr&gt;
          &lt;tr&gt;
              &lt;td&gt;&lt;code&gt;alerting.active_configurations&lt;/code&gt;&lt;/td&gt;
              &lt;td&gt;gauge&lt;/td&gt;
              &lt;td&gt;The number of active, non default Alertmanager configurations for grafana managed alerts&lt;/td&gt;
          &lt;/tr&gt;
          &lt;tr&gt;
              &lt;td&gt;&lt;code&gt;alerting.rule_evaluations_total&lt;/code&gt;&lt;/td&gt;
              &lt;td&gt;counter&lt;/td&gt;
              &lt;td&gt;The total number of rule evaluations&lt;/td&gt;
          &lt;/tr&gt;
          &lt;tr&gt;
              &lt;td&gt;&lt;code&gt;alerting.rule_evaluation_failures_total&lt;/code&gt;&lt;/td&gt;
              &lt;td&gt;counter&lt;/td&gt;
              &lt;td&gt;The total number of rule evaluation failures&lt;/td&gt;
          &lt;/tr&gt;
          &lt;tr&gt;
              &lt;td&gt;&lt;code&gt;alerting.rule_evaluation_duration_seconds&lt;/code&gt;&lt;/td&gt;
              &lt;td&gt;summary&lt;/td&gt;
              &lt;td&gt;The duration for a rule to execute&lt;/td&gt;
          &lt;/tr&gt;
          &lt;tr&gt;
              &lt;td&gt;&lt;code&gt;alerting.rule_group_rules&lt;/code&gt;&lt;/td&gt;
              &lt;td&gt;gauge&lt;/td&gt;
              &lt;td&gt;The number of rules&lt;/td&gt;
          &lt;/tr&gt;
      &lt;/tbody&gt;
    &lt;/table&gt;
  &lt;/div&gt;
&lt;/section&gt;&lt;ul&gt;
&lt;li&gt;&lt;a href=&#34;alerting-rules/rule-list/&#34;&gt;View alert rules and their current state&lt;/a&gt;&lt;/li&gt;
&lt;/ul&gt;
]]></content><description>&lt;h1 id="overview-of-grafana-8-alerts">Overview of Grafana 8 alerts&lt;/h1>
&lt;p>Alerts allow you to know about problems in your systems moments after they occur. Robust and actionable alerts help you identify and resolve issues quickly, minimizing disruption to your services.&lt;/p></description></item><item><title>Legacy Grafana Alerts</title><link>https://grafana.com/docs/grafana/v8.0/alerting/old-alerting/</link><pubDate>Fri, 07 Mar 2025 11:34:44 +0100</pubDate><guid>https://grafana.com/docs/grafana/v8.0/alerting/old-alerting/</guid><content><![CDATA[&lt;h1 id=&#34;legacy-grafana-alerts&#34;&gt;Legacy Grafana alerts&lt;/h1&gt;
&lt;p&gt;Grafana 8.0 has &lt;a href=&#34;../unified-alerting/&#34;&gt;new and improved alerts&lt;/a&gt;. The new alerting system are an opt-in feature that centralizes alerting information for Grafana managed alerts and alerts from Prometheus-compatible data sources in one UI and API.&lt;/p&gt;
&lt;p&gt;Out of the box, Grafana still supports legacy dashboard alerts. Legacy Grafana alerts consists of two parts:&lt;/p&gt;
&lt;p&gt;Alert rules - When the alert is triggered. Alert rules are defined by one or more conditions that are regularly evaluated by Grafana.
Notification channel - How the alert is delivered. When the conditions of an alert rule are met, the Grafana notifies the channels configured for that alert.&lt;/p&gt;
&lt;p&gt;Currently only the graph panel visualization supports alerts.&lt;/p&gt;
&lt;p&gt;Legacy alerts have two main components:&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;Alert rule - When the alert is triggered. Alert rules are defined by one or more conditions that are regularly evaluated by Grafana.&lt;/li&gt;
&lt;li&gt;Notification channel -  How the alert is delivered. When the conditions of an alert rule are met, the Grafana notifies the channels configured for that alert.&lt;/li&gt;
&lt;/ul&gt;
&lt;h2 id=&#34;alert-tasks&#34;&gt;Alert tasks&lt;/h2&gt;
&lt;p&gt;You can perform the following tasks for alerts:&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;&lt;a href=&#34;create-alerts/&#34;&gt;Create an alert rule&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;&lt;a href=&#34;view-alerts/&#34;&gt;View existing alert rules and their current state&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;&lt;a href=&#34;troubleshoot-alerts/&#34;&gt;Test alert rules and troubleshoot&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;&lt;a href=&#34;notifications/&#34;&gt;Add or edit an alert contact point&lt;/a&gt;&lt;/li&gt;
&lt;/ul&gt;
&lt;h2 id=&#34;clustering&#34;&gt;Clustering&lt;/h2&gt;
&lt;p&gt;Currently alerting supports a limited form of high availability. Since v4.2.0 of Grafana, alert notifications are deduped when running multiple servers. This means all alerts are executed on every server but no duplicate alert notifications are sent due to the deduping logic. Proper load balancing of alerts will be introduced in the future.&lt;/p&gt;
&lt;h2 id=&#34;alert-evaluation&#34;&gt;Alert evaluation&lt;/h2&gt;
&lt;p&gt;Grafana managed alerts are evaluated by the Grafana backend. Rule evaluations are scheduled, according to the alert rule configuration, and queries are evaluated by an engine that is part of core Grafana.&lt;/p&gt;
&lt;p&gt;Alert rules can only query backend data sources with alerting enabled:&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;builtin or developed and maintained by grafana: &lt;code&gt;Graphite&lt;/code&gt;, &lt;code&gt;Prometheus&lt;/code&gt;, &lt;code&gt;Loki&lt;/code&gt;, &lt;code&gt;InfluxDB&lt;/code&gt;, &lt;code&gt;Elasticsearch&lt;/code&gt;,
&lt;code&gt;Google Cloud Monitoring&lt;/code&gt;, &lt;code&gt;Cloudwatch&lt;/code&gt;, &lt;code&gt;Azure Monitor&lt;/code&gt;, &lt;code&gt;MySQL&lt;/code&gt;, &lt;code&gt;PostgreSQL&lt;/code&gt;, &lt;code&gt;MSSQL&lt;/code&gt;, &lt;code&gt;OpenTSDB&lt;/code&gt;, &lt;code&gt;Oracle&lt;/code&gt;, and &lt;code&gt;Azure Data Explorer&lt;/code&gt;&lt;/li&gt;
&lt;li&gt;any community backend data sources with alerting enabled (&lt;code&gt;backend&lt;/code&gt; and &lt;code&gt;alerting&lt;/code&gt; properties are set in the &lt;a href=&#34;/developers/plugin-tools/reference-plugin-json&#34;&gt;plugin.json&lt;/a&gt;)&lt;/li&gt;
&lt;/ul&gt;
&lt;h2 id=&#34;metrics-from-the-alert-engine&#34;&gt;Metrics from the alert engine&lt;/h2&gt;
&lt;p&gt;The alert engine publishes some internal metrics about itself. You can read more about how Grafana publishes &lt;a href=&#34;../../administration/view-server/internal-metrics/&#34;&gt;internal metrics&lt;/a&gt;.&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;Metric Name&lt;/th&gt;
              &lt;th&gt;Type&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;&lt;code&gt;alerting.alerts&lt;/code&gt;&lt;/td&gt;
              &lt;td&gt;gauge&lt;/td&gt;
              &lt;td&gt;How many alerts by state&lt;/td&gt;
          &lt;/tr&gt;
          &lt;tr&gt;
              &lt;td&gt;&lt;code&gt;alerting.request_duration_seconds&lt;/code&gt;&lt;/td&gt;
              &lt;td&gt;histogram&lt;/td&gt;
              &lt;td&gt;Histogram of requests to the Alerting API&lt;/td&gt;
          &lt;/tr&gt;
          &lt;tr&gt;
              &lt;td&gt;&lt;code&gt;alerting.active_configurations&lt;/code&gt;&lt;/td&gt;
              &lt;td&gt;gauge&lt;/td&gt;
              &lt;td&gt;The number of active, non default alertmanager configurations for grafana managed alerts&lt;/td&gt;
          &lt;/tr&gt;
          &lt;tr&gt;
              &lt;td&gt;&lt;code&gt;alerting.rule_evaluations_total&lt;/code&gt;&lt;/td&gt;
              &lt;td&gt;counter&lt;/td&gt;
              &lt;td&gt;The total number of rule evaluations&lt;/td&gt;
          &lt;/tr&gt;
          &lt;tr&gt;
              &lt;td&gt;&lt;code&gt;alerting.rule_evaluation_failures_total&lt;/code&gt;&lt;/td&gt;
              &lt;td&gt;counter&lt;/td&gt;
              &lt;td&gt;The total number of rule evaluation failures&lt;/td&gt;
          &lt;/tr&gt;
          &lt;tr&gt;
              &lt;td&gt;&lt;code&gt;alerting.rule_evaluation_duration_seconds&lt;/code&gt;&lt;/td&gt;
              &lt;td&gt;summary&lt;/td&gt;
              &lt;td&gt;The duration for a rule to execute&lt;/td&gt;
          &lt;/tr&gt;
          &lt;tr&gt;
              &lt;td&gt;&lt;code&gt;alerting.rule_group_rules&lt;/code&gt;&lt;/td&gt;
              &lt;td&gt;gauge&lt;/td&gt;
              &lt;td&gt;The number of rules&lt;/td&gt;
          &lt;/tr&gt;
      &lt;/tbody&gt;
    &lt;/table&gt;
  &lt;/div&gt;
&lt;/section&gt;]]></content><description>&lt;h1 id="legacy-grafana-alerts">Legacy Grafana alerts&lt;/h1>
&lt;p>Grafana 8.0 has &lt;a href="../unified-alerting/">new and improved alerts&lt;/a>. The new alerting system are an opt-in feature that centralizes alerting information for Grafana managed alerts and alerts from Prometheus-compatible data sources in one UI and API.&lt;/p></description></item></channel></rss>