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
+18-18Lines changed: 18 additions & 18 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -24,33 +24,33 @@ To query Prometheus metrics from an Azure Monitor workspace you need the followi
24
24
## Prometheus Explorer workbook
25
25
Azure Monitor workspaces include an exploration workbook to query your Prometheus metrics.
26
26
27
-
1. From the Azure Monitor workspace overviw page, select **Workbooks**
28
-
1.Select the **Prometheus Explorer** workbook tile.
27
+
1. From the Azure Monitor workspace overview page, select **Workbooks**
28
+
1.In the Azure Monitor workspace gallery, select the **Prometheus Explorer** workbook tile.
29
29
30
30

31
31
32
32
A workbook has the following input options:
33
33
-**Time Range**. Select the nuber of hours or days that you want to include in your query. Select *Custom* to set a start and end time.
34
34
-**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).
35
-
-**Graph**, **Grid**, and **Dimensions** tabs. Swithc between a graphic, tabular and dimensional view of the query output.
35
+
-**Graph**, **Grid**, and **Dimensions** tabs. Switch between a graphic, tabular and dimensional view of the query output.
36
36
37
37

Workbooks supports many other great visualizations and Azure integrations, to set up your own workbook, learn more about [creating your own Azure Workbooks](../visualize/workbooks-create-workbook.md).
43
-
Azure Workbooks uses [data sources](../visualize/workbooks-data-sources.md#prometheus-preview) to scope the data it pulls from. To query Prometheus metrics:
44
-
45
-
1. Open up a new or existing workbook
46
-
2. Select the “+ Add” button and choose “Add query”
47
-
3. Under the Data source parameter, choose the option “Prometheus (preview)”
48
-
4. From the “Azure Monitor workspace” dropdown, pick your workspace
49
-
5. Following that, update the Prometheus query type dropdown to your desired Query Type
50
-
6. In the primary text field, write your PromQL
51
-
7. Using the “Run Query” button at the top, you should now be able to see your data
52
-
8. (optional) Make additional adjustments and customizations using the various options for time range, visualization type, size, and other settings
53
-
9. Once all changes are finalized, select the “Done Editing” at the bottom of the section and save your work
39
+
## Create a Prometheus workbook
40
+
41
+
Workbooks supports many visualizations and Azure integrations. For more information about Azure Workbooks, see [Creating an Azure Workbook](../visualize/workbooks-create-workbook.md).
42
+
Azure Workbooks use [data sources](../visualize/workbooks-data-sources.md#prometheus-preview) to scope the data they retrieve. To query Prometheus metrics:
43
+
44
+
1. From your Azure Monitor workspace select **Workbooks**.
45
+
1. Select **New**.
46
+
1. In the new workbook, select **Add**, and select **Add query** from the dropdown.
47
+
1. Select the **Data source** dropdown, and choose **Prometheus (preview)** .
48
+
1. From the **Azure Monitor workspace** dropdown, select your workspace.
49
+
1. Following that, update the Prometheus query type dropdown to your desired Query Type
50
+
1. In the primary text field, write your PromQL
51
+
1. Select **Run Query** button at the top, you should now be able to see your data
52
+
1. (optional) Make additional adjustments and customizations using the various options for time range, visualization type, size, and other settings
53
+
1. Once all changes are finalized, select the **Done Editing** at the bottom of the section and save your work
54
54
55
55

0 commit comments