Files
grafana/docs/sources/alerting/alerting-rules/create-alerts-panels.md
Pepe Cano 9b91be739d Alerting docs: Update Recording Rules (#95435)
* WIP - Restructure recording rule pages

* Add more `Recording rules` use cases

* Update `Intro > Alert rules`. Minor style changes and updates to the recording rules section

* Minor verb change

* Switch `aliases` and fix broken link

* Bold for clarity

* Complete `Create recording rules in Grafana Alerting`

* Complete data source-managed recording rules

* Final update
2024-10-29 09:41:59 +01:00

1.9 KiB

canonical description keywords labels title weight refs
https://grafana.com/docs/grafana/latest/alerting/alerting-rules/create-alerts-panels/ Create alert rules from panels. Reuse the queries in the panel and create alert rules based on them.
grafana
alerting
panels
create
grafana-managed
data source-managed
products
cloud
enterprise
oss
Create alert rules from panels 300
time-series-visualizations
pattern destination
/docs/grafana/ /docs/grafana/<GRAFANA_VERSION>/panels-visualizations/visualizations/time-series/
pattern destination
/docs/grafana-cloud/ /docs/grafana-cloud/visualizations/panels-visualizations/visualizations/time-series/

Create alert rules from panels

Create alert rules from time series panels. By doing so, you can reuse the queries in the panel and create alert rules based on them.

  1. Navigate to a dashboard in the Dashboards section.
  2. Hover over the top-right corner of a time series panel and click the panel menu icon.
  3. From the dropdown menu, select More... > New alert rule.

The New alert rule form opens where you can configure and create your alert rule based on the query used in the panel.

{{% admonition type="note" %}} Changes to the panel aren't reflected on the linked alert rules. If you change a query, you have to update it in both the panel and the alert rule.

Alert rules are only supported in time series visualizations. {{% /admonition %}}

{{< docs/play title="visualizations with linked alerts in Grafana" url="https://play.grafana.org/d/000000074/" >}}

View alert rules from panels

To view alert rules associated with a time series panel, complete the following steps.

  1. Open the panel editor by hovering over the top-right corner of any panel
  2. Click the panel menu icon that appears.
  3. Click Edit.
  4. Click the Alert tab to view existing alert rules or create a new one.