mirror of
https://github.com/grafana/grafana.git
synced 2025-08-03 00:59:31 +08:00

* Alerting docs: separates doc on create alerts from panels * deletes previous panel section * adds time series limitation and play link * removes play from old topic * ran prettier * removed play shortcode, typo * adds feedback from gilles --------- Co-authored-by: tonypowa <tonypowa@gmail.com>
1.6 KiB
1.6 KiB
canonical | description | keywords | labels | title | weight | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
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. |
|
|
Create alert rules from panels | 400 |
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.
- Navigate to a dashboard in the Dashboards section.
- Hover over the top-right corner of a time series panel and click the panel menu icon.
- 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.
- Open the panel editor by hovering over the top-right corner of any panel
- Click the panel menu icon that appears.
- Click Edit.
- Click the Alert tab to view existing alert rules or create a new one.