Menu
Grafana documentation
Alerting
Set up
Upgrade Alerting
Legacy alerting
Grafana Cloud Alerting
Create and edit alert rules
Grafana Cloud
Enterprise
Open source
Create and edit alert rules
Creating alerts in Grafana Cloud differs from creating alerts directly with Prometheus or Loki. While the rule format is the same, everything is done in the Grafana Cloud Alerting interface, rather than with configuration files.
Note: Only organization Admins can create or edit alert rules.
Create an alert rule
- In Grafana, hover your cursor over the Grafana Cloud Alerting icon and then click Alerts and rules.
- If you have more than one Prometheus or Loki data source, there will be a dropdown at the top for you to select the data source to create or edit rules.
- Click Edit rules.
- Click Add rule.
Grafana creates a new rule with placeholders.
alert: ""
expr: ""
Enter text according to regular Prometheus rule configuration guidelines:
Note: Grafana Cloud Alerting does not support comments.
When you are finished, click Save. You can then repeat the process to create more rules or click Finish editing to return to the rules list.
Edit an alert rule
- In Grafana, hover your cursor over the Grafana Cloud Alerting icon and then click Alerts and rules.
- If you have more than one Prometheus or Loki data source, there will be a dropdown at the top for you to select the data source to create or edit rules.
- Click Edit rules.
- Scroll down to the rule that you want to edit and then click Edit.
- Make any necessary changes to the rule text and then click Save.
- Click Finish editing to return to the rules list.
Delete an alert rule
- In Grafana, hover your cursor over the Grafana Cloud Alerting icon and then click Alerts and rules.
- If you have more than one Prometheus or Loki data source, there will be a dropdown at the top for you to select the data source to create or edit rules.
- Click Edit rules.
- Scroll down to the rule that you want to edit and then click Delete.
- Click Finish editing to return to the rules list.
Was this page helpful?
Related resources from Grafana Labs
Additional helpful documentation, links, and articles:

Getting started with the Grafana LGTM Stack
In this webinar, we’ll demo how to get started using the LGTM Stack: Loki for logs, Grafana for visualization, Tempo for traces, and Mimir for metrics.

Getting started with Grafana dashboard design
In this webinar, you'll learn how to design stylish and easily accessible Grafana dashboards that tell a story.

Unify your data with Grafana plugins: Datadog, Splunk, MongoDB, and more
In this webinar, learn how to leverage Grafana's plugin ecosystem for access to 80+ data sources, including plugins for Datadog, Splunk, MongoDB, and more.