Prometheus alerts in Azure Monitor
Prometheus alert rules allow you to define alert conditions, using queries which are written in Prometheus Query Language (Prom QL) that are applied on Prometheus metrics stored in Azure Monitor managed services for Prometheus. Whenever the alert query results in one or more time series meeting the condition, the alert counts as pending for these metric and label sets. A pending alert becomes active after a user-defined period of time during which all the consecutive query evaluations for the respective time series meet the alert condition. Once an alert becomes active, it is fired and would trigger your actions or notifications of choice, as defined in the Azure Action Groups configured in your alert rule.
Azure Monitor managed service for Prometheus, including Prometheus metrics, is currently in public preview and does not yet have all of its features enabled. Prometheus metrics are displayed with alerts generated by other types of alert rules, but they currently have a difference experience for creating and managing them.
Create Prometheus alert rule
Prometheus alert rules are created as part of a Prometheus rule group which is stored in Azure Monitor workspace. See Azure Monitor managed service for Prometheus rule groups for details.
View Prometheus alerts
View fired and resolved Prometheus alerts in the Azure portal with other alert types. Use the following steps to filter on only Prometheus alerts.
- From the Monitor menu in the Azure portal, select Alerts.
- If Monitoring Service isn't displayed as a filter option, then select Add Filter and add it.
- Set the filter Monitoring Service to Prometheus to see Prometheus alerts.
Submit and view feedback for