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
+5-5Lines changed: 5 additions & 5 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -28,14 +28,14 @@ Azure Monitor workspaces include an exploration workbook to query your Prometheu
28
28
29
29
1. In the Azure Monitor workspace gallery, select the **Prometheus Explorer** workbook tile.
30
30
31
-

31
+

32
32
33
33
A workbook has the following input options:
34
34
-**Time Range**. Select the period of time that you want to include in your query. Select **Custom** to set a start and end time.
35
35
-**PromQL**. Enter the PromQL query to retrieve your data. For more information about PromQL, see [Querying Prometheus](https://prometheus.io/docs/prometheus/latest/querying/basics/#querying-prometheus).
36
36
-**Graph**, **Grid**, and **Dimensions** tabs. Switch between a graphic, tabular and dimensional view of the query output.
37
37
38
-

38
+

39
39
40
40
## Create a Prometheus workbook
41
41
@@ -47,19 +47,19 @@ Workbooks supports many visualizations and Azure integrations. For more informat
47
47
48
48
1. Select **New**.
49
49
1. In the new workbook, select **Add**, and select **Add query** from the dropdown.
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":::
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
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)** .
52
52
1. From the **Azure Monitor workspace** dropdown, select your workspace.
53
53
1. Select your query type from **Prometheus query type** dropdown.
54
54
1. Write your PromQL query in the **Prometheus Query** field.
55
55
1. Select **Run Query** button.
56
56
1. Select the **Done Editing** at the bottom of the section and save your work
57
57
58
-

58
+

59
59
60
60
## Troubleshooting
61
61
62
-
If you workbook query does not return data:
62
+
If your workbook query does not return data:
63
63
64
64
- Check that you have Monitoring Data Reader role permissions assigned through Access Control (IAM) in your Azure Monitor workspace
65
65
- Verify that you have turned on metrics collection in the Monitored clusters blade of your Azure Monitor workspace.
0 commit comments