Provision Alerting resources
Alerting infrastructure is often complex, with many pieces of the pipeline that often live in different places. Scaling this across multiple teams and organizations is an especially challenging task. Importing and exporting (or provisioning) your alerting resources in Grafana Alerting makes this process easier by enabling you to create, manage, and maintain your alerting data in a way that best suits your organization.
You can import alert rules, contact points, notification policies, mute timings, and templates.
You cannot edit imported alerting resources in the Grafana UI in the same way as alerting resources that were not imported. You can only edit imported contact points, notification policies, templates, and mute timings in the source where they were created. For example, if you manage your alerting resources using files from disk, you cannot edit the data in Terraform or from within Grafana.
Import alerting resources
Choose from the options below to import (or provision) your Grafana Alerting resources.
Use configuration files to provision your alerting resources, such as alert rules and contact points, through files on disk.
Note
- You cannot edit provisioned resources from files in the Grafana UI.
- Provisioning with configuration files is not available in Grafana Cloud.
Use the Alerting provisioning HTTP API to manage alerting resources.
Note
The JSON output from the majority of Alerting HTTP endpoints isn’t compatible for provisioning via configuration files.
If you need the alerting resources for file provisioning, use Export Alerting endpoints to return or download them in provisioning format.
Export alerting resources
You can export both manually created and provisioned alerting resources. You can also edit and export an alert rule without applying the changes.
For detailed instructions on the various export options, refer to Export alerting resources.
View provisioned alerting resources
To view your provisioned resources in Grafana, complete the following steps.
- Open your Grafana instance.
- Navigate to Alerting.
- Click an alerting resource folder, for example, Alert rules.
Provisioned resources are labeled Provisioned, so that it is clear that they were not created manually.
Was this page helpful?
Related resources from Grafana Labs
![Getting started with the Grafana LGTM Stack](/static/assets/featured/getting-started-with-grafana-lgtm-stack-amer_featured.png?w=200 200w, /static/assets/featured/getting-started-with-grafana-lgtm-stack-amer_featured.png?w=400 400w)
![Intro to Kubernetes monitoring in Grafana Cloud](/media/webinar/Screenshot-2024-02-12-at-4.09.30-PM.png?w=200 200w, /media/webinar/Screenshot-2024-02-12-at-4.09.30-PM.png?w=400 400w)
![Building advanced Grafana dashboards](/media/webinar/AMER_buildadv_notxt.png?w=200 200w, /media/webinar/AMER_buildadv_notxt.png?w=400 400w)