Skip to content

Commit a0098cc

Browse files
Additional edits.
1 parent 957f821 commit a0098cc

File tree

2 files changed

+9
-9
lines changed

2 files changed

+9
-9
lines changed

articles/azure-resource-manager/management/monitor-resource-manager-reference.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
---
22
title: Monitoring data reference for Azure Resource Manager
33
description: This article contains important reference material you need when you monitor Azure Resource Manager.
4-
ms.date: 07/16/2024
4+
ms.date: 07/25/2024
55
ms.custom: horz-monitor, devx-track-arm-template
66
ms.topic: reference
77
author: mumian

articles/azure-resource-manager/management/monitor-resource-manager.md

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
---
22
title: Monitor Azure Resource Manager
33
description: Start here to learn how to monitor Azure Resource Manager. Learn about Traffic and latency observability for subscription-level control plane requests.
4-
ms.date: 07/16/2024
4+
ms.date: 07/25/2024
55
ms.custom: horz-monitor, devx-track-arm-template
66
ms.topic: conceptual
77
author: mumian
@@ -33,15 +33,15 @@ With these metrics, you can observe traffic and latency for control plane reques
3333

3434
The metrics are available for up to three months (93 days) and only track synchronous requests. For a scenario like a virtual machine creation, the metrics don't represent the performance or reliability of the long running asynchronous operation.
3535

36-
## Accessing Azure Resource Manager metrics
36+
### Accessing Azure Resource Manager metrics
3737

3838
You can access control plane metrics by using the Azure Monitor REST APIs, SDKs, and the Azure portal by selecting the **Azure Resource Manager** metric. For an overview on Azure Monitor, see [Azure Monitor Metrics](../../azure-monitor/data-platform.md).
3939

4040
There's no opt-in or sign-up process to access control plane metrics.
4141

4242
For guidance on how to retrieve a bearer token and make requests to Azure, see [Azure REST API reference](/rest/api/azure/#create-the-request).
4343

44-
## Metric definition
44+
### Metric definition
4545

4646
The definition for Azure Resource Manager metrics in Azure Monitor is only accessible through the 2017-12-01-preview API version. To retrieve the definition, you can run the following snippet. Replace `00000000-0000-0000-0000-000000000000` with your subscription ID.
4747

@@ -52,11 +52,11 @@ curl --location --request GET 'https://management.azure.com/subscriptions/000000
5252

5353
This snippet returns the definition for the metrics schema. Notably, this schema includes [the dimensions you can filter on with the Monitor API](monitor-resource-manager-reference.md#metric-dimensions).
5454

55-
## Examples
55+
### Metrics examples
5656

5757
Here are some scenarios that can help you explore Azure Resource Manager metrics.
5858

59-
### Query traffic and latency control plane metrics with Azure portal
59+
#### Query traffic and latency control plane metrics with Azure portal
6060

6161
First, navigate to the Azure Monitor page within the [portal](https://portal.azure.com):
6262

@@ -70,7 +70,7 @@ Then, after selecting **Apply**, you can visualize your Traffic or Latency contr
7070

7171
:::image type="content" source="./media/view-arm-monitor-metrics/arm-metrics-view.png" alt-text="Screenshot of the metrics visualization in the Azure portal, showing options to filter and split by dimensions.":::
7272

73-
### Query traffic and latency control plane metrics with REST API
73+
#### Query traffic and latency control plane metrics with REST API
7474

7575
After you authenticate with Azure, you can make a request to retrieve control plane metrics for your subscription. In the script, replace `00000000-0000-0000-0000-000000000000` with your subscription ID. The script retrieves the average request latency, in seconds, and the total request count for the two day timespan, broken down by one day intervals:
7676

@@ -172,7 +172,7 @@ For the metrics supporting dimensions, you need to specify the dimension value t
172172

173173
If you want to look at the number of requests made in your subscription for Networking resources, like Virtual Networks and Load Balancers, you would need to filter the **Namespace** dimension for **MICROSOFT.NETWORK**.
174174

175-
### Examining Throttled Requests
175+
#### Examining Throttled Requests
176176

177177
To view only your throttled requests, you need to filter for 429 status code responses only. For REST API calls, filtering is accomplished by using the [$filter property](/rest/api/monitor/Metrics/List#uri-parameters) and the StatusCode dimension by appending: `$filter=StatusCode eq '429'` as seen at the end of the request in the following snippet:
178178

@@ -184,7 +184,7 @@ curl --location --request GET 'https://management.azure.com/subscriptions/000000
184184
You can also filter directly in portal:
185185
:::image type="content" source="./media/view-arm-monitor-metrics/throttling-filter-portal.png" alt-text="Screenshot of filtering HTTP Status Code to 429 responses only in the Azure portal.":::
186186

187-
### Examining Server Errors
187+
#### Examining Server Errors
188188

189189
Similar to looking at throttled requests, you view *all* requests that returned a server error response code by filtering 5xx responses only. For REST API calls, filtering is accomplished by using the [$filter property](/rest/api/monitor/Metrics/List#uri-parameters) and the StatusCodeClass dimension by appending: $filter=StatusCodeClass eq '5xx' as seen at the end of the request in the following snippet:
190190

0 commit comments

Comments
 (0)