You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: articles/azure-monitor/alerts/prometheus-alerts.md
+6-8Lines changed: 6 additions & 8 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -7,7 +7,7 @@ ms.custom: ignite-2022
7
7
ms.date: 09/15/2022
8
8
---
9
9
10
-
# Prometheus metric alerts in Azure Monitor
10
+
# Prometheus alerts in Azure Monitor
11
11
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](../essentials/prometheus-metrics-overview.md). 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.
12
12
13
13
> [!NOTE]
@@ -16,19 +16,17 @@ Prometheus alert rules allow you to define alert conditions, using queries which
16
16
## Create Prometheus alert rule
17
17
Prometheus alert rules are created as part of a Prometheus rule group which is stored in [Azure Monitor workspace](../essentials/azure-monitor-workspace-overview.md). See [Azure Monitor managed service for Prometheus rule groups](../essentials/prometheus-rule-groups.md) for details.
18
18
19
-
## View Prometheus metric alerts
20
-
View fired and resolved Prometheus alerts in the Azure portal with other alert types. Use the following steps to filter on only Prometheus metric alerts.
21
-
19
+
## View Prometheus alerts
20
+
View fired and resolved Prometheus alerts in the Azure portal with other alert types. Use the following steps to filter on only Prometheus alerts.
22
21
1. From the **Monitor** menu in the Azure portal, select **Alerts**.
23
22
2. If **Monitoring Service** isn't displayed as a filter option, then select **Add Filter** and add it.
24
23
3. Set the filter **Monitoring Service** to **Prometheus** to see Prometheus alerts.
25
24
26
-
:::image type="content" source="media/prometheus-metric-alerts/view-alerts.png" lightbox="media/prometheus-metric-alerts/view-alerts.png" alt-text="Screenshot of a list of alerts in Azure Monitor with a filter for Prometheus metric alerts.":::
27
-
25
+
:::image type="content" source="media/prometheus-metric-alerts/view-alerts.png" lightbox="media/prometheus-metric-alerts/view-alerts.png" alt-text="Screenshot of a list of alerts in Azure Monitor with a filter for Prometheus alerts.":::
28
26
4. Click the alert name to view the details of a specific fired/resolved alert.
29
27
30
-
:::image type="content" source="media/prometheus-metric-alerts/alert-details.png" lightbox="media/prometheus-metric-alerts/alert-details.png" alt-text="Screenshot of detail for a Prometheus metric alert in Azure Monitor.":::
31
-
28
+
:::image type="content" source="media/prometheus-metric-alerts/alert-details.png" lightbox="media/prometheus-metric-alerts/alert-details.png" alt-text="Screenshot of detail for a Prometheus alert in Azure Monitor.":::
32
29
## Next steps
33
30
34
31
-[Create a Prometheus rule group](../essentials/prometheus-rule-groups.md).
0 commit comments