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/metrics-explorer.md
+39-20Lines changed: 39 additions & 20 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -1,54 +1,57 @@
1
1
---
2
-
title: Metrics explorer for Azure monitor workspace (Preview)
3
-
description: Learn about Metrics Explorer for Azure monitor workspace, a tool in that allows you to analyze and visualize metrics stored in an Azure monitor worksapce.
2
+
title: Metrics explorer for Azure Monitor workspace (Preview)
3
+
description: Learn about Metrics Explorer for Azure Monitor workspace, a tool in that allows you to analyze and visualize metrics stored in an Azure Monitor workspace.
4
4
author: EdB-MSFT
5
5
ms.service: azure-monitor
6
6
ms-author: edbaynash
7
7
ms.topic: conceptual
8
8
ms.date: 04/01/2024
9
9
ms.reviewer: priyamishra
10
+
11
+
# Customer intent: As an Azure Monitor user, I want to learn how to use Metrics Explorer for Azure Monitor workspace to analyze and visualize metrics stored in an Azure Monitor workspace using PromQL.
12
+
10
13
---
11
14
12
-
# Metrics explorer for Azure monitor workspace (Preview)
15
+
# Metrics explorer for Azure Monitor workspace (Preview)
13
16
14
17
Metrics Explorer for Azure Monitor workspace (Preview) is allows you to analyze and visualize metrics stored in an Azure Monitor workspace. You can use the metrics explorer to create and customize charts, and to analyze and troubleshoot issues with your resources. The metrics explorer supports Prometheus query language (PromQL), allowing you to query and visualize metrics data in a flexible and powerful way. For more information on PromQL, see [Querying Prometheus](https://prometheus.io/docs/prometheus/latest/querying/basics/).
15
18
16
19
17
-
## Create a Chart using Metrics Explorer for Azure Monitor workspace (Preview)
20
+
## Create a Chart
18
21
19
-
Metrics explorer for Azure Monitor workspace (Preview) is available from the **Metrics** blade of the Azure monitor workspace in the Azure portal. The **New chart** pane opens on the right side of the screen.
22
+
Metrics explorer for Azure Monitor workspace (Preview) is available from the **Metrics** blade of the Azure Monitor workspace in the Azure portal. The **New chart** pane opens on the right side of the screen.
20
23
21
24
22
25
23
26
The chart pane has two options for charting a metric:
24
27
- Add with builder
25
28
- Add with editor.
26
29
30
+
### Create a chart with the builder
27
31
To add a metric with the builder, select **Add metric** and select **Add with builder**. Use the toolbar to select a scope and metric from the drop-down lists. The scope is the azure monitor workspace where the metric is stored. The metric is displayed by default as a line chart the chart. Select your preferred chart type from the dropdown list in the toolbar. Customize the chart by selecting the gear-wheel icon. You can change the chart title, add annotations, and set the time range for the chart. You can also add
28
32
29
33
30
34
31
35
:::image type="content" source="./media/metrics-explorer/add-metric-with-builder.png" lightbox="./media/metrics-explorer/add-metric-with-builder.png" alt-text="A screenshot showing adding a metric using the builder in the metrics explorer." :::
32
36
33
-
37
+
### Create a chart with the editor and PromQL
34
38
To add a metric using the editor, select **Add metric** and select **Add with editor**. Use select a scope form the dropdown list and in the editor field, enter a PromQL query to retrieve metrics data. Select **Run** to run the query and display the results in the chart. You can customize the chart by selecting the gear-wheel icon. You can change the chart title, add annotations, and set the time range for the chart.
35
39
36
40
:::image type="content" source="./media/metrics-explorer/add-metric-with-editor.png" lightbox="./media/metrics-explorer/add-metric-with-editor.png" alt-text="A screenshot showing adding a metric using the editor." :::
37
41
38
42
39
43
40
44
41
-
## Muliple Metrics and charts
45
+
## Muliple metrics and charts
42
46
Add multiple metrics to the chart by selecting **Add metric**. Use either the builder or the editor to add metrics to the chart.
43
47
You can add up to <<<<<<<10>>>>>>> metrics to a chart. Each metric and query is plotted on the chart and added to the legend. You can choose a different scope for each metric by selecting the scope dropdown list in the toolbar to compare metrics from different resources.
44
48
45
49
> [!NOTE]
46
50
> Running both the code editor and query builder on the same chart is not supported in this current release and may result in unexpected behavior.
47
51
48
-
You can create additional charts by selecting **New chart**. Each chart can have multiple metrics.
49
-
Each chart can have multiple metrics, different chart types and settings. The time range is common for all the charts in the workspace.
52
+
You can create additional charts by selecting **New chart**. Each chart can have multiple metrics, different chart types and settings. The time range and granularity is common for all the charts in the workspace.
50
53
51
-
To remove a chart select the **...** options menu and select **Remove**.
54
+
To remove a chart select the **...** options icon and select **Remove**.
@@ -62,32 +65,48 @@ Set the time range for the chart by selecting the time range dropdown list in th
62
65
63
66
To pan, select the left and right arrows at the edge of the chart. The arrow control moves the selected time range back and forward by one half of the chart's time span. If you're viewing the past 24 hours, selecting the left arrow causes the time range to shift to span a day and a half to 12 hours ago.
64
67
65
-
:::image type="content" source="./media/metrics-explorer/pan-time-axis.gif" lightbox="./media/metrics-explorer/pan-time-axis.gif" alt-text="A screeshot showing panning across the time axis.":::
68
+
:::image type="content" source="./media/metrics-explorer/pan-time-axis.gif" lightbox="./media/metrics-explorer/pan-time-axis.gif" alt-text="A screenshot showing panning across the time axis.":::
66
69
67
70
68
71
## Zoom into metrics data
69
72
70
73
You can configure the time granularity of the chart data to support zoom in and zoom out for the time range. Use the time brush to investigate an interesting area of the chart like a spike or a dip in the data. Select an area on the chart and the chart zooms in to show more detail for the selected area based on your granularity settings. If the time grain is set to Automatic, zooming selects a smaller time grain. The new time range applies to all charts in metrics explorer.
71
74
72
75
73
-
:::image type="content" source="./media/metrics-explorer/zoom-in-time.gif" lightbox="./media/metrics-explorer//zoom-in-time.gif" alt-text="A screeshot showing zooming in on the time axis.":::
76
+
:::image type="content" source="./media/metrics-explorer/zoom-in-time.gif" lightbox="./media/metrics-explorer/zoom-in-time.gif" alt-text="A screenshot showing zooming in on the time axis.":::
77
+
78
+
## Save and share charts
79
+
80
+
After you configure a chart, you can add it to a dashboard or workbook. By adding a chart to a dashboard or workbook, you can make it accessible to your team. You can also gain insights by viewing it in the context of other monitoring information.
81
+
82
+
- To pin a configured chart to a dashboard, in the upper-right corner of the chart, select Save to dashboard > Pin to dashboard.
83
+
- To save a configured chart to a workbook, in the upper-right corner of the chart, select Save to dashboard > Save to workbook.
74
84
85
+
:::image type="content" source="./media/metrics-explorer/save-chart.png" lightbox="./media/metrics-explorer/save-chart.png" alt-text="A screenshot showing the save menu.":::
86
+
87
+
The Azure Monitor metrics explorer Share menu includes several options for sharing your metric chart.
88
+
89
+
- Use the **Download to Excel** option to immediately download your chart.
90
+
- Select **Copy link** to add a link to your chart to the clipboard.A notification is recieved when the link is copied successfully.
91
+
-**Send to Workbook** sends your chart to a new or existing workbook.
92
+
- Select **Pin to Grafana** to pin your chart to a new or existing Grafana dashboard.
93
+
94
+
:::image type="content" source="./media/metrics-explorer/share-chart.png" lightbox="./media/metrics-explorer/share-chart.png" alt-text="A screenshot showing the share menu.":::
0 commit comments