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
+4-4Lines changed: 4 additions & 4 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -8,7 +8,7 @@ ms.date: 09/15/2022
8
8
---
9
9
10
10
# Prometheus alerts in Azure Monitor
11
-
As part of [Azure Monitor managed services for Prometheus](../essentials/prometheus-metrics-overview.md), Prometheus alert rules allow you to define alert conditions, using queries which are written in Prometheus Query Language (Prom QL). The rule queries are applied on Prometheus metrics stored in [Azure Monitor workspace](../essentials/azure-monitor-workspace-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.
11
+
As part of [Azure Monitor managed services for Prometheus](../essentials/prometheus-metrics-overview.md), Prometheus alert rules allow you to define alert conditions, using queries written in Prometheus Query Language (Prom QL). The rule queries are applied on Prometheus metrics stored in [Azure Monitor workspace](../essentials/azure-monitor-workspace-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's 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
## Create Prometheus alert rules
14
14
Prometheus alert rules are created and managed as part of a Prometheus rule group. See [Azure Monitor managed service for Prometheus rule groups](../essentials/prometheus-rule-groups.md) for details.
@@ -22,12 +22,12 @@ You can view fired and resolved Prometheus alerts in the Azure portal together w
22
22
4. Click the alert name to view the details of a specific fired/resolved alert.
23
23
:::image type="content" source="media/prometheus-metric-alerts/alert-details-grafana.png" lightbox="media/prometheus-metric-alerts/alert-details-grafana.png" alt-text="Screenshot of detail for a Prometheus alert in Azure Monitor.":::
24
24
25
-
If your rule group is configured with [a specific cluster scope](../essentials/prometheus-rule-groups#limiting-rules-to-a-specific-cluster), you can also view alerts fired for this cluster, under this cluster alerts blade. From the cluster menu in the Azure portal, select **Alerts**. You can then filter for the Prometheus monitor service as shown above.
25
+
If your rule group is configured with [a specific cluster scope](../essentials/prometheus-rule-groups#limiting-rules-to-a-specific-cluster), you can also view alerts fired for this cluster, under this cluster alerts blade. From the cluster menu in the Azure portal, select **Alerts**. You can then filter for the Prometheus monitor service.
26
26
27
27
## Explore Prometheus alerts in Grafana
28
28
1. In the fired alerts details pane, you can click the **View query in Grafana** link.
29
-
2. A browser tab will be opened taking you to the [Azure Managed Grafana](../../managed-grafana/overview.md) instance connected to your Azure Monitor Workspace.
30
-
3. Grafana will be opened in Explore mode, presenting the chart for your alert rule expression query which triggered the alert, around the alert firing time. You can further explore the query in Grafana to identify the reason causing the alert to fire.
29
+
2. A browser tab will is opened taking you to the [Azure Managed Grafana](../../managed-grafana/overview.md) instance connected to your Azure Monitor Workspace.
30
+
3. Grafana is opened in Explore mode, presenting the chart for your alert rule expression query around the alert firing time. You can further explore the query in Grafana to identify the reason causing the alert to fire.
31
31
32
32
> [!NOTE]
33
33
> 1. If there is no Azure Managed Grafana connected to your Azure Monitor Workspace, a link to Grafana will not be available.
0 commit comments