alerting docs: new AI template helper (#111856)

* alerting docs: new AI tools

docs for alert history and template ai tools

* Update docs/sources/alerting/alerting-rules/templates/_index.md

Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>

* edit word

* Update view-alert-state-history.md

* Update docs/sources/alerting/alerting-rules/templates/_index.md

Co-authored-by: Sonia Aguilar <33540275+soniaAguilarPeiron@users.noreply.github.com>

* prettier

---------

Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
Co-authored-by: Sonia Aguilar <33540275+soniaAguilarPeiron@users.noreply.github.com>
This commit is contained in:
Johnny Kartheiser
2025-10-03 14:43:18 -05:00
committed by GitHub
co-authored by Copilot Sonia Aguilar
parent acad92864e
commit 277fc492bd
@@ -220,6 +220,24 @@ To preview label values, select `Use notification policy`, and then click on `Pr
{{< figure src="/media/docs/alerting/alert-instance-routing-preview.png" max-width="1200px" alt="Routing preview displays label values" >}}
## Grafana Cloud AI-generated templates
Grafana Cloud users can use built-in AI tool to generate templates in the appropriate [alerting template language](/docs/grafana-cloud/alerting-and-irm/alerting/configure-notifications/template-notifications/language/) for you.
To use AI to create your template, follow these steps:
1. Go to **Alerting -> Contact points**.
1. Click the Notification Templates tab then, click the **+ Add notification template group** button.
1. Name your template.
1. In the Template group section, click the **Generate with AI** button.
1. Supply the AI tool with a prompt or select from one of the example prompts and edit that if necessary.
1. Click **Save**.
## More information
For further details on how to template alert rules, refer to: