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/essentials/prometheus-workbooks.md
+9-8Lines changed: 9 additions & 8 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -16,7 +16,7 @@ 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#create-an-azure-monitor-workspace).
18
18
- Your Azure Monitor workspace must be [collecting Prometheus metrics](./prometheus-metrics-enable.md) from an AKS cluster.
19
-
- You have the Monitoring Data Reader role assigned for the Azure Monitor workspace.
19
+
- You have the **Monitoring Data Reader** role assigned for the Azure Monitor workspace.
20
20
21
21
> [!NOTE]
22
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).
@@ -39,15 +39,16 @@ A workbook has the following input options:
39
39
40
40
## Create a Prometheus workbook
41
41
42
-
Workbooks supports many visualizations and Azure integrations. For more information about Azure Workbooks, see [Creating an Azure Workbook](../visualize/workbooks-create-workbook.md).
43
-
Azure Workbooks use [data sources](../visualize/workbooks-data-sources.md#prometheus-preview) to scope the data they retrieve. To query Prometheus metrics:
42
+
Workbooks supports many visualizations and Azure integrations. For more information about Azure Workbooks, see [Creating an Azure Workbook](../visualize/workbooks-create-workbook.md).
43
+
44
+
44
45
45
46
1. From your Azure Monitor workspace select **Workbooks**.
46
47
47
48
1. Select **New**.
48
49
1. In the new workbook, select **Add**, and select **Add query** from the dropdown.
49
-
:::image type="content" source="./media/prometheus-workbooks/prometheus-workspace-add-query.png" alt-text="A screenshot showing the add content dropdown in a blank workspace":::
50
-
1. Select the **Data source** dropdown, and choose **Prometheus (preview)** .
50
+
:::image type="content" source="./media/prometheus-workbooks/prometheus-workspace-add-query.png" alt-text="A screenshot showing the add content dropdown in a blank workspace":::
51
+
1. Azure Workbooks use [data sources](../visualize/workbooks-data-sources.md#prometheus-preview) to set the source scope the data they present. To query Prometheus metrics, select the **Data source** dropdown, and choose **Prometheus (preview)** .
51
52
1. From the **Azure Monitor workspace** dropdown, select your workspace.
52
53
1. Select your query type from **Prometheus query type** dropdown.
53
54
1. Write your PromQL query in the **Prometheus Query** field.
@@ -60,11 +61,11 @@ Azure Workbooks use [data sources](../visualize/workbooks-data-sources.md#promet
60
61
61
62
If you workbook query does not return data:
62
63
63
-
-Double check that you have Monitoring Data Reader role permissions assigned through Access Control (IAM) in your Azure Monitor workspace
64
-
- Verify that you have turned on metrics collection in the Monitored clusters blade of your Azure Monitor workspace
64
+
-Check that you have Monitoring Data Reader role permissions assigned through Access Control (IAM) in your Azure Monitor workspace
65
+
- Verify that you have turned on metrics collection in the Monitored clusters blade of your Azure Monitor workspace.
65
66
66
67
67
68
## Next steps
68
69
*[Collect Prometheus metrics from AKS cluster (preview)](./prometheus-metrics-enable.md)
0 commit comments