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/metric-chart-samples.md
+29-18Lines changed: 29 additions & 18 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -3,55 +3,66 @@ title: Azure Monitor metric chart example
3
3
description: Learn about visualizing your Azure Monitor data.
4
4
services: azure-monitor
5
5
ms.topic: conceptual
6
-
ms.date: 01/29/2019
6
+
author: EdB-MSFT
7
+
ms.author: edbaynash
8
+
ms.date: 08/01/2023
7
9
ms.reviewer: vitalyg
8
10
---
9
11
10
12
# Metric chart examples
11
13
12
-
The Azure platform offers [over a thousand metrics](./metrics-supported.md), many of which have dimensions. By using [dimension filters](./metrics-charts.md), applying [splitting](./metrics-charts.md), controlling chart type, and adjusting chart settings you can create powerful diagnostic views and dashboards that provide insight into the health of your infrastructure and applications. This article shows some examples of the charts that you can build using [Metrics Explorer](./metrics-charts.md) and explains the necessary steps to configure each of these charts.
14
+
The Azure platform offers [over a thousand metrics](/azure/azure-monitor/reference/supported-metrics/metrics-index.md), many of which have dimensions. By using [dimension filters](./metrics-charts.md), applying [splitting](./metrics-charts.md), controlling chart type, and adjusting chart settings you can create powerful diagnostic views and dashboards that provide insight into the health of your infrastructure and applications. This article shows some examples of the charts that you can build using [Metrics Explorer](./metrics-charts.md), and explains the necessary steps to configure each of these charts.
13
15
14
-
Want to share your great charts examples with the world? Contribute to this page on GitHub and share your own chart examples here!
15
16
16
17
## Website CPU utilization by server instances
17
18
18
-
This chart shows if CPU for an App Service was within the acceptable range and breaks it down by instance to determine whether the load was properly distributed. You can see from the chart that the app was running on a single server instance before 6 AM, and then scaled up by adding another instance.
19
+
This chart shows if the CPU usage for an App Service Plan was within the acceptable range and breaks it down by instance to determine whether the load was properly distributed.
19
20
20
-

21
+
:::image type="content" source="./media/metrics-charts/cpu-by-instance.png" alt-text="A screenshot showing a line chart of average cpu percentage by server instance." lightbox="./media/metrics-charts/cpu-by-instance.png":::
21
22
22
-
### How to configure this chart?
23
-
24
-
Select your App Service resource and find the **CPU Percentage** metric. Then click on **Apply splitting** and select the **Instance** dimension.
23
+
### How to configure this chart
24
+
1. Select **Metrics** from the **Monitoring** section of your App service plan's menu
25
+
1. Select the **CPU Percentage** metric.
26
+
1. Select **Apply splitting** and select the **Instance** dimension.
25
27
26
28
## Application availability by region
27
29
28
-
View your application's availability by region to identify which geographic locations are having problems. This chart shows the Application Insights availability metric. You can see that the monitored application has no problem with availability from the East US datacenter, but it is experiencing a partial availability problem from West US, and East Asia.
30
+
View your application's availability by region to identify which geographic locations are having problems. This chart shows the Application Insights availability metric. You can see that the monitored application has no problem with availability from the East US datacenter, but it's experiencing a partial availability problem from West US, and East Asia.
29
31
30
-

32
+
:::image type="content" source="./media/metrics-charts/availability-by-location.png" alt-text="A screenshot showing a line chart of average availability by location." lightbox="./media/metrics-charts/availability-by-location.png":::
31
33
32
-
### How to configure this chart?
34
+
### How to configure this chart
33
35
34
-
You first need to turn on [Application Insights availability](/previous-versions/azure/azure-monitor/app/monitor-web-app-availability) monitoring for your website. After that, pick your Application Insights resource and select the Availability metric. Apply splitting on the **Run location** dimension.
36
+
1. You must turn on [Application Insights availability](/previous-versions/azure/azure-monitor/app/monitor-web-app-availability) monitoring for your website.
37
+
1. Select your Application Insights resource.
38
+
1. Select the **Availability** metric.
39
+
1. Apply splitting on the **Run location** dimension.
35
40
36
41
## Volume of failed storage account transactions by API name
37
42
38
43
Your storage account resource is experiencing an excess volume of failed transactions. You can use the transactions metric to identify which API is responsible for the excess failure. Notice that the following chart is configured with the same dimension (API name) in splitting and filtered by failed response type:
39
44
40
-

45
+
:::image type="content" source="./media/metrics-charts/split-and-filter-example.png" alt-text="A screenshot showing a chart of transactions by API name." lightbox="./media/metrics-charts/split-and-filter-example.png":::
41
46
42
-
### How to configure this chart?
47
+
### How to configure this chart
43
48
44
-
In the metric picker, select your storage account and the **Transactions** metric. Switch chart type to **Bar chart**. Click **Apply splitting** and select dimension **API name**. Then click on the **Add filter** and pick the **API name** dimension once again. In the filter dialog, select the APIs that you want to plot on the chart.
49
+
1. In the Scope dropdown, select your Storage Account
50
+
1. In the metric dropdown, select the **Transactions** metric.
51
+
1. Select **Add filter** and select **Response type** from the **Property** dropdown.
52
+
1. Select **CLientOtherError** from the **Values** dropdown.
53
+
1. Select **Apply splitting** and select **API name** from the values dropdown.
45
54
46
55
## Total requests of Cosmos DB by Database Names and Collection Names
47
56
48
57
You want to identify which collection in which database of your Cosmos DB instance is having maximum requests to adjust your costs for Cosmos DB.
49
58
50
-

59
+
:::image source="./media/metrics-charts/multiple-split-example.png" alt-text="A screenshot showing a segmented line chart of total requests." lightbox="./media/metrics-charts/multiple-split-example.png":::
51
60
52
-
### How to configure this chart?
61
+
### How to configure this chart
53
62
54
-
In the metric picker, select your Cosmos DB resource and the **Total Requests** metric. Click **Apply splitting** and select dimensions **DatabaseName** and **CollectionName**.
63
+
1. In the scope dropdown, select your Cosmos DB.
64
+
1. In the metric dropdown, select **Total Requests**.
65
+
1. Select **Apply splitting** and select the **DatabaseName** and **CollectionName** dimensions from the **Values** dropdown.
0 commit comments