Skip to content

Commit 6ec3350

Browse files
committed
for first review
1 parent ee40f34 commit 6ec3350

File tree

6 files changed

+48
-18
lines changed

6 files changed

+48
-18
lines changed
-12.9 KB
Loading
35.1 KB
Loading
-221 KB
Loading
-23.9 KB
Loading
696 KB
Loading

articles/azure-monitor/essentials/metrics-explorer.md

Lines changed: 48 additions & 18 deletions
Original file line numberDiff line numberDiff line change
@@ -14,50 +14,68 @@ ms.reviewer: priyamishra
1414

1515
# Metrics explorer for Azure Monitor workspace (Preview)
1616

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/).
17+
Metrics Explorer for Azure Monitor workspace (Preview) allows you to analyze and visualize metrics stored in an Azure Monitor workspace. You can use the metrics explorer to create and customize charts, analyze, and troubleshoot issues with your resources. The metrics explorer supports Prometheus query language (PromQL), letting you 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/).
1818

1919

20-
## Create a Chart
21-
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.
23-
20+
## Create a chart
2421

22+
Metrics explorer for Azure Monitor workspace (Preview) is available from the **Metrics** menu item of the Azure Monitor workspace in the Azure portal.
2523

2624
The chart pane has two options for charting a metric:
2725
- Add with builder
2826
- Add with editor.
2927

3028
### Create a chart with the builder
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
32-
29+
To add a metric with the builder,
30+
1. Select **Add metric** and select **Add with builder** from the dropdown.
31+
1. Select a scope. The scope is the Azure monitor workspace where the metric is stored.
32+
1. Select a metric from the drop-down list.
3333

34+
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.
3435

3536
:::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." :::
3637

3738
### Create a chart with the editor and PromQL
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.
39+
40+
To add a metric using the editor,
41+
1. Select **Add metric** and select **Add with editor** from the dropdown.
42+
1. Select a **Scope** from the dropdown list/
43+
1. Enter a PromQL query in the editor field. 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.
3944

4045
:::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." :::
4146

4247

48+
## Multiple metrics and charts
49+
Each worspace can host multiple charts with each chart containing multiple metrics.
4350

51+
### Add a metric
4452

45-
## Muliple metrics and charts
46-
Add multiple metrics to the chart by selecting **Add metric**. Use either the builder or the editor to add metrics to the chart.
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.
53+
Add multiple metrics to the chart by selecting **Add metric**. Use either the builder or the editor to add metrics to the chart.
54+
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.
4855

4956
> [!NOTE]
5057
> 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.
5158
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.
5359

54-
To remove a chart select the **...** options icon and select **Remove**.
60+
### Add a new chart
61+
You can create additional charts by selecting **New chart**. Each chart can have multiple metrics and different chart types and settings.
62+
63+
The time range and granularity are applied to all the charts in the workspace.
64+
5565
:::image type="content" source="./media/metrics-explorer/create-multiple-charts.png" lightbox="./media/metrics-explorer/create-multiple-charts.png" alt-text="A screenshot showing multiple charts.":::
5666

57-
## Configure the time range
58-
The time picker lets you configure the time range for your metric chart to view data that's relevant to your monitoring scenario. By default, the chart shows the most recent 24 hours of metrics data.
67+
### Remove a chart
68+
69+
To remove a chart select the **...** options icon and select **Remove**.
70+
71+
## Configure time range and granularity
72+
73+
Configure the time range and granularity for your metric chart to view data that's relevant to your monitoring scenario. By default, the chart shows the most recent 24 hours of metrics data.
74+
75+
Set the time range for the chart by selecting the time range dropdown list in the toolbar.
76+
77+
Time grain refers to the frequency of sampling and display of the data points on the chart. Select the time granularity by using the time picker in metrics explorer. If the data is stored at a lower granularity than selected, the metric values displayed are aggregated to the level of granularity selected. The time grain is set to automatic by default. The automatic setting selects the best time grain based on the time range selected.
5978

60-
Set the time range for the chart by selecting the time range dropdown list in the toolbar.
6179

6280
:::image type="content" source="./media/metrics-explorer/time-picker.png" lightbox="./media/metrics-explorer/time-picker.png" alt-text="A screenshot showing time range picker." :::
6381

@@ -70,11 +88,23 @@ To pan, select the left and right arrows at the edge of the chart. The arrow con
7088

7189
## Zoom into metrics data
7290

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.
91+
Select an area on the chart and the chart to zoom in and 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. To zoom back out, select the **Undo zoom** button.
7492

7593

7694
:::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.":::
7795

96+
## Customize the chart
97+
98+
Customize the chart by selecting the gear-wheel icon in the toolbar.
99+
100+
- **Chart title**: Change the title of the chart.
101+
- **Chart type**: Change the chart type to line, area, bar, or scatter.
102+
- **Y-axis range**: Change the minimum and maximum values of the Y-axis. Use these settings to focus on a specific range of values in the chart.
103+
- **Legends**: Position, show or hide the legend, labels, and hover card for the chart.
104+
- **Query settings, Scrape interval**: Set the prometheus query settings. The default is 1 minute.
105+
:::image type="content" source="./media/metrics-explorer/chart-settings.png" lightbox="./media/metrics-explorer/chart-settings.png" alt-text="A Screenshot showing the chart settings blade.":::
106+
107+
78108
## Save and share charts
79109

80110
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.
@@ -87,7 +117,7 @@ After you configure a chart, you can add it to a dashboard or workbook. By addin
87117
The Azure Monitor metrics explorer Share menu includes several options for sharing your metric chart.
88118

89119
- 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.
120+
- Select **Copy link** to add a link to your chart to the clipboard.A notification is received when the link is copied successfully.
91121
- **Send to Workbook** sends your chart to a new or existing workbook.
92122
- Select **Pin to Grafana** to pin your chart to a new or existing Grafana dashboard.
93123

0 commit comments

Comments
 (0)