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
You can view the rule groups and their included rules in the Azure portal by selecting **Rule groups** from the Azure Monitor workspace.
304
-
305
-
:::image type="content" source="media/prometheus-metrics-rule-groups/azure-monitor-workspace-rule-groups.png" lightbox="media/prometheus-metrics-rule-groups/azure-monitor-workspace-rule-groups.png" alt-text="Screenshot of rule groups in an Azure Monitor workspace.":::
306
-
307
-
## Disable and enable rules
308
-
To enable or disable a rule, select the rule in the Azure portal. Select either **Enable** or **Disable** to change its status.
309
-
310
-
:::image type="content" source="media/prometheus-metrics-rule-groups/enable-rule.png" lightbox="media/prometheus-metrics-rule-groups/enable-rule.png" alt-text="Screenshot of Prometheus rule detail with enable option.":::
311
-
312
-
> [!NOTE]
313
-
> After you disable or re-enable a rule or a rule group, it may take few minutes for the rule group list to reflect the updated status of the rule or the group.
314
-
315
-
316
-
317
-
302
+
You can view your Prometheus rule groups and their included rules in the Azure portal in one of the following ways:
303
+
* In the [portal home page](https://portal.azure.com/), in the search box, look for **Prometheus Rule Groups**.
304
+
* In the [portal home page](https://portal.azure.com/), select **Monitor** > **Alerts**, then select **Prometheus Rule Groups**.
305
+
:::image type="content" source="media/prometheus-metrics-rule-groups/prometheus-rule-groups-from-alerts.png" alt-text="Screenshot that shows how to view Prometheus rule groups from the alerts screen.":::
306
+
* In the page of a specific Azure Kubernetes Services resource (AKS), or a specific Azure Monitor Workspace (AMW), select **Monitor** > **Alerts**, then select **Prometheus Rule Groups**, to view a list of rule groups for this specific resource.
307
+
You can select a rule group from the list to view or edit its details.
308
+
309
+
## View the resource health states of your Prometheus rule groups
310
+
You can now view the [resource health state](../../service-health/resource-health-overview.md) of your Prometheus rule group in the portal. This can allow you to detect problems in your rule groups, such as incorrect configuration, or query throttling problems
311
+
312
+
1. In the [portal](https://portal.azure.com/), go to the overview of your Prometheus rule group you would like to monitors
313
+
1. From the left pane, under **Help**, select **Resource health**.
314
+
:::image type="content" source="media/prometheus-metrics-rule-groups/prometheus-rule-groups-resource-health.png" alt-text="Screenshot that shows how to view resource health state of a Prometheus rule group.":::
315
+
1. In the rule group resource health screen, you can see the current availability state of the rule group, as well as a history of recent resource health events, up to 30 days back.
316
+
:::image type="content" source="media/prometheus-metrics-rule-groups/prometheus-rule-groups-resource-health-history.png" alt-text="Screenshot that shows how to view the resource health history of a Prometheus rule group.":::
317
+
318
+
* If the rule group is marked as **Available**, it is working as expected.
319
+
* If the rule group is marked as **Degraded**, one or more rules in the group are not working as expected. This can be due to the rule query being throttled, or to other issues that may cause the rule evaluation to fail. Expand the status entry for more information on the detected problem, as well as suggestions for mitigation or for further troubleshooting.
320
+
* If the rule group is marked as **Unavailable**, the entire rule group is not working as expected. This can be due the configuration issue (for example, the Azure Monitor Workspace can't be detected) or due to internal service issues. Expand the status entry for more information on the detected problem, as well as suggestions for mitigation or for further troubleshooting.
321
+
* If the rule group is marked as **Unknown**, the entire rule group is disabled or is in an unknown state.
322
+
323
+
## Disable and enable rule groups
324
+
To enable or disable a rule, select the rule group in the Azure portal. Select either **Enable** or **Disable** to change its status.
318
325
319
326
## Next steps
320
-
321
327
-[Learn more about the Azure alerts](../alerts/alerts-types.md).
322
328
-[Prometheus documentation for recording rules](https://aka.ms/azureprometheus-promio-recrules).
323
329
-[Prometheus documentation for alerting rules](https://aka.ms/azureprometheus-promio-alertrules).
0 commit comments