Skip to content

Commit fcace02

Browse files
Merge pull request #246791 from EdB-MSFT/metric-chart-samples
updated
2 parents e46a9d9 + 2af438d commit fcace02

File tree

4 files changed

+29
-18
lines changed

4 files changed

+29
-18
lines changed
-32.5 KB
Loading
13 KB
Loading
-216 Bytes
Loading

articles/azure-monitor/essentials/metric-chart-samples.md

Lines changed: 29 additions & 18 deletions
Original file line numberDiff line numberDiff line change
@@ -3,55 +3,66 @@ title: Azure Monitor metric chart example
33
description: Learn about visualizing your Azure Monitor data.
44
services: azure-monitor
55
ms.topic: conceptual
6-
ms.date: 01/29/2019
6+
author: EdB-MSFT
7+
ms.author: edbaynash
8+
ms.date: 08/01/2023
79
ms.reviewer: vitalyg
810
---
911

1012
# Metric chart examples
1113

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

14-
Want to share your great charts examples with the world? Contribute to this page on GitHub and share your own chart examples here!
1516

1617
## Website CPU utilization by server instances
1718

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

20-
![Line chart of average cpu percentage by server instance](./media/metrics-charts/cpu-by-instance.png)
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":::
2122

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

2628
## Application availability by region
2729

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

30-
![Chart of average availability by locations](./media/metrics-charts/availability-by-location.png)
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":::
3133

32-
### How to configure this chart?
34+
### How to configure this chart
3335

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

3641
## Volume of failed storage account transactions by API name
3742

3843
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:
3944

40-
![Bar graph of API transactions](./media/metrics-charts/split-and-filter-example.png)
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":::
4146

42-
### How to configure this chart?
47+
### How to configure this chart
4348

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

4655
## Total requests of Cosmos DB by Database Names and Collection Names
4756

4857
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.
4958

50-
![Segmented line chart of Total Requests](./media/metrics-charts/multiple-split-example.png)
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":::
5160

52-
### How to configure this chart?
61+
### How to configure this chart
5362

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

5667
## Next steps
5768

0 commit comments

Comments
 (0)