Skip to content

Commit dd563a0

Browse files
committed
updates
1 parent b2a58ec commit dd563a0

File tree

3 files changed

+25
-18
lines changed

3 files changed

+25
-18
lines changed

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

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -120,6 +120,8 @@ Use the time picker to change the **Time range** for your data, such as the last
120120

121121
In addition to changing the time range with the time picker, you can pan and zoom by using the controls in the chart area.
122122

123+
## Interactive Chart features
124+
123125
### Pan across metrics data
124126

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

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

Lines changed: 21 additions & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -12,21 +12,24 @@ ms.reviewer: priyamishra
1212

1313
---
1414

15-
# Metrics explorer with PromQL (Preview) (Preview)
15+
# Metrics explorer with PromQL (Preview)
1616

1717
Metrics Explorer with PromQL (Preview) allows you to analyze and visualize platform metrics, and use Prometheus query language (PromQL) to query metrics stored in an Azure Monitor workspace.
1818

19-
Metrics explorer with PromQL (Preview) is available from the **Metrics** menu item of any Azure Monitor workspace in the Azure portal, but is not limited to Azure Monitor workspaces. You can query metrics from any Azure resource by selecting the appropriate scope.
19+
Metrics explorer with PromQL (Preview) is available from the **Metrics** menu item of any Azure Monitor workspace in the Azure portal, but isn't limited to Azure Monitor workspaces. You can query metrics from any Azure resource using the builder and selecting the appropriate scope.
2020

2121
For more information on PromQL, see [Querying Prometheus](https://prometheus.io/docs/prometheus/latest/querying/basics/).
2222

2323

2424
## Create a chart
2525

2626
The chart pane has two options for charting a metric:
27-
- Add with builder
2827
- Add with editor.
28+
- Add with builder.
2929

30+
Adding a chart with the editor allows you to enter a PromQL query to retrieve metrics data. The editor provides syntax highlighting and intellisense for PromQL queries. Currently, queries are limited to the metrics stored in an Azure Monitor workspace.
31+
32+
Adding a chart with the builder allows you to select metrics from any of your Azure resources. The builder provides a list of metrics available in the selected scope. You can select the metric, aggregation type, and chart type from the builder.
3033

3134
### Create a chart with the editor and PromQL
3235

@@ -35,18 +38,22 @@ To add a metric using the query editor,
3538
1. Select **Add metric** and select **Add with editor** from the dropdown.
3639

3740
1. Select a **Scope** from the dropdown list. This scope is the Azure Monitor workspace where the metrics are stored.
38-
1. Enter a PromQL query in the editor field, or select an sinmge metric from **Metric** dropdown.
41+
1. Enter a PromQL query in the editor field, or select a single metric from **Metric** dropdown.
3942
1. 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.
4043

4144
:::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." :::
4245

4346
### Create a chart with the builder
47+
4448
To add a metric with the builder,
49+
4550
1. Select **Add metric** and select **Add with builder** from the dropdown.
46-
1. Select a scope. This can be an Azure resource in your subscription.
51+
1. Select a scope. The scope can be any Azure resource in your subscription.
4752
1. Select a metric from the drop-down list.
4853
1. Select the aggregation type from the dropdown list.
4954

55+
For more information on the selecting scope, metrics, and aggregation, see [Analyze metrics](/azure/azure-monitor/essentials/analyze-metrics#set-the-resource-scope).
56+
5057
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.
5158

5259
:::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." :::
@@ -79,30 +86,28 @@ To remove a chart, select the **...** options icon and select **Remove**.
7986

8087
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.
8188

82-
Set the time range for the chart by selecting the time range dropdown list in the toolbar.
89+
Set the time range for the chart by selecting the time range dropdown list in the toolbar. Select a predefined time range or set a custom time range.
8390

84-
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.
91+
Time grain is 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 or more frequent 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.
8592

8693

8794
:::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." :::
8895

89-
## Configure the time range
96+
For more information, see [Analyze metrics](/azure/azure-monitor/essentials/analyze-metrics#configure-the-time-range) .
9097

91-
To set the time range for the chart, use the time range picker in the toolbar. The time range picker allows you to select a predefined time range or set a custom time range. The time range picker also allows you to set the time grain for the chart. The time grain is the frequency of sampling and display of the data points on the chart. The time grain is set to automatic by default. The automatic setting selects the best time grain based on the time range selected.
9298

93-
For more information, see [Analyze metrics](aazure/azure-monitor/essentials/analyze-metrics#configure-the-time-range) .
99+
## Chart features
94100

101+
You can interact with the chart to gain deeper insights into your metrics data.
95102

96-
## Chart features
97-
You can interact with the chart in several ways to gain insights into your metrics data.
103+
These features includes the following features:
98104

99-
This includes the following features:
100-
- Zoom-in. Select and drag to zoom in on a specific area of the chart.
105+
- Zoom-in. Select and drag to zoom in on a specific area of the chart.
101106
- Pan. Shift chart left and right along the time axis.
102107
- Change chart settings such as chart type, Y-axis range, and legends.
103108
- Save and share charts
104109

105-
For mor information on chart features, see [Analyze metrics](aazure/azure-monitor/essentials/analyze-metrics) .
106-
110+
For more information on chart features, see [Interactive chart features](/azure/azure-monitor/essentials/analyze-metrics#interactive-chart-features) .
107111

108112

113+
Next Steps
Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,11 @@
11
---
22
ms.service: azure-monitor
33
ms.topic: include
4-
ms.date: 10/31/2023
4+
ms.date: 4/08/2024
55
ms.author: edbaynash
66
author: EdB-MSFT
77
---
88

99
### Can I view my Prometheus metrics in Azure Monitor metrics explorer?
1010

11-
Metrics explorer in Azure Monitor doesn't currently support visualizing Prometheus metric data. Consider using [Azure Managed Grafana](../../managed-grafana/index.yml) to visualize your Prometheus metrics.
11+
Metrics explorer with PromQL supports visualizing Prometheus metrics data using PromQL. To use the Metrics Explorer with promQL support, select the **Metrics** menu item from any Azure Monitor workspace in the Azure portal. For more information, see [Metrics explorer with PromQL (Preview)](../essentials/metrics-explorer.md).

0 commit comments

Comments
 (0)