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
description: Query Prometheus metrics in the portal using Azure Workbooks.
4
4
author: EdB-MSFT
5
5
ms.topic: conceptual
6
-
ms.date: 01/18/2023
6
+
ms.date: 07/17/2023
7
7
ms.author: edbaynash
8
8
---
9
9
@@ -16,17 +16,16 @@ This article introduces workbooks for Azure Monitor workspaces and shows you how
16
16
To query Prometheus metrics from an Azure Monitor workspace you need the following:
17
17
- An Azure Monitor workspace. To create an Azure Monitor workspace see [Create an Azure Monitor Workspace](./azure-monitor-workspace-overview.md?tabs=azure-portal.md).
18
18
- Your Azure Monitor workspace must be [collecting Prometheus metrics](./prometheus-metrics-enable.md) from an AKS cluster.
19
-
- The user must be assigned the **Monitoring Data Reader** role for the Azure Monitor workspace.
20
-
21
-
> [!NOTE]
22
-
> Querying data from an Azure Monitor workspace is a data plane operation. Even if you are an owner or have elevated control plane access, you still need to assign the **Monitoring Data Reader** role. For more information, see [Azure control and data plane](../../azure-resource-manager/management/control-plane-and-data-plane.md).
19
+
- The user must be assigned role that can perform the **microsoft.monitor/accounts/read** operation on the Azure Monitor workspace.
23
20
24
21
## Prometheus Explorer workbook
25
22
Azure Monitor workspaces include an exploration workbook to query your Prometheus metrics.
26
23
27
-
1. From the Azure Monitor workspace overview page, select **Workbooks**
24
+
1. From the Azure Monitor workspace overview page, select **Prometheus explorer**
28
25
29
-
1. In the Azure Monitor workspace gallery, select the **Prometheus Explorer** workbook tile.
26
+

27
+
28
+
2. Or the **Workbooks** menu item, and in the Azure Monitor workspace gallery, select the **Prometheus Explorer** workbook tile.
30
29
31
30

32
31
@@ -61,7 +60,7 @@ Workbooks supports many visualizations and Azure integrations. For more informat
61
60
62
61
If your workbook query does not return data:
63
62
64
-
- Check that you have **Monitoring Data Reader** role permissions assigned through Access Control (IAM) in your Azure Monitor workspace
63
+
- Check that you have sufficient permissions to perform **microsoft.monitor/accounts/read** assigned through Access Control (IAM) in your Azure Monitor workspace
65
64
- Verify that you have turned on metrics collection in the Monitored clusters blade of your Azure Monitor workspace.
0 commit comments