Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
In this guide, you learn how to set up Azure Monitor alerts and use them with Azure Managed Grafana.
Both Azure Monitor and Grafana provide alerting functions.
Note
Grafana alerts aren't available in the Essential (preview) plan.
Grafana provides an alerting function for a number of supported data sources and in Azure Managed Grafana, alert rules are processed in your workspace, where they share the same compute resources and query-throttling limits with dashboard rendering. For more information about these limits, see performance considerations and limitations.
Azure Monitor has its own alert system. It offers many advantages:
- Scalability: Azure Monitor alerts are evaluated by the Azure Monitor platform, which is architected to autoscale to your needs.
- Compliance: Azure Monitor alerts and action groups follow Azure's compliance standards on privacy, including unsubscribe support.
- Customized notifications and actions: Azure Monitor alerts use action groups to send notifications by email, SMS, voice, and push notifications. You can configure these events to trigger further actions implemented in Functions, Logic apps, webhook, and other supported action types.
- Consistent resource management: You manage Azure Monitor alerts as Azure resources. You can create, update, and view them by using Azure APIs and tools, such as ARM templates, Azure CLI, or SDKs.
For any Azure Monitor service, including Azure Monitor Managed Service for Prometheus, define and manage your alert rules in Azure Monitor. You can view fired and resolved alerts in the Azure Alert Consumption dashboard included in Azure Managed Grafana.
Important
To set up alerts for Azure Monitor, we recommend you directly use Azure Monitor's native alerting function. Using Grafana alerts with an Azure Monitor service isn't officially supported by Microsoft.
Create Azure Monitor alerts
Define alert rules in Azure Monitor based on the type of alerts:
| Alert Type | Description |
|---|---|
| Managed service for Prometheus | Use Prometheus rule groups. A set of predefined Prometheus alert rules and recording rules for AKS is available. |
| Other metrics, logs, health | Create new alert rules. |
You can view alert state and conditions by using the Azure Alert Consumption dashboard in your Azure Managed Grafana workspace.
Related content
In this how-to guide, you learned how to set up alerts for Azure Monitor and consume them in Azure Managed Grafana. To learn how to use Grafana alerts for other data sources, see Grafana alerting.
To configure notification channels in Azure Managed Grafana, see Setting up email notifications in Azure Managed Grafana.