Skip to content

Commit 7dff0ae

Browse files
committed
WIP 1901
1 parent 9a4b35f commit 7dff0ae

File tree

2 files changed

+18
-18
lines changed

2 files changed

+18
-18
lines changed
71.4 KB
Loading

articles/azure-monitor/essentials/prometheus-workbooks.md

Lines changed: 18 additions & 18 deletions
Original file line numberDiff line numberDiff line change
@@ -24,33 +24,33 @@ To query Prometheus metrics from an Azure Monitor workspace you need the followi
2424
## Prometheus Explorer workbook
2525
Azure Monitor workspaces include an exploration workbook to query your Prometheus metrics.
2626

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.
2929

3030
![Screenshot that shows Azure Monitor workspace gallery](./media/prometheus-workbooks/prometheus-gallery.png)
3131

3232
A workbook has the following input options:
3333
- **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.
3434
- **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.
3636

3737
![Screenshot that shows PromQL explorer](./media/prometheus-workbooks/prometheus-explorer.png)
3838

39-
>>>>>>>>>>https://learn.microsoft.com/en-us/azure/azure-monitor/visualize/workbooks-getting-started
40-
## Create your own Prometheus workbook
41-
42-
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
5454

5555
![Screenshot that shows sample PromQL query](./media/prometheus-workbooks/prometheus-query.png)
5656

0 commit comments

Comments
 (0)