Skip to content

Commit 28c55ec

Browse files
author
gitName
committed
include file
1 parent 4220641 commit 28c55ec

File tree

2 files changed

+18
-3
lines changed

2 files changed

+18
-3
lines changed

articles/api-management/emit-metric-policy.md

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -17,9 +17,6 @@ ms.custom: engagement-fy23
1717

1818
The `emit-metric` policy sends custom metrics in the specified format to Application Insights.
1919

20-
> [!NOTE]
21-
> Custom metrics are a [preview feature](/azure/azure-monitor/essentials/metrics-custom-overview) of Azure Monitor and subject to [limitations](/azure/azure-monitor/essentials/metrics-custom-overview#design-limitations-and-considerations).
22-
2320
[!INCLUDE [api-management-policy-generic-alert](../../includes/api-management-policy-generic-alert.md)]
2421

2522
## Limits for custom metrics
Lines changed: 18 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,18 @@
1+
---
2+
ms.service: azure-api-management
3+
ms.topic: include
4+
author: dlepow
5+
ms.author: danlep
6+
ms.date: 09/25/2024
7+
ms.custom:
8+
---
9+
10+
Azure Monitor imposes [usage limits](/azure/azure-monitor/essentials/metrics-custom-overview#quotas-and-limits) for custom metrics that may affect your ability to emit metrics from API Management. For example, Azure Monitor currently sets a limit of 10 dimension keys per metric, and a limit of 50,000 total active time series per region in a subscription (within a 12 hour period).
11+
12+
These limits have the following implications for configuring custom metrics in an API Management policy such as `emit-metric` or `azure-openai-emit-token-metric`:
13+
14+
* You can configure a maximum of 10 custom dimensions per policy.
15+
16+
* The number of active time series generated by the policy within a 12 hour period is the product of the number of unique values of each configured dimension during the period. For example, if three custom dimensions were configured in the policy, and each dimension had 10 possible values within the period, the policy would contribute 1,000 (10 x 10 x 10) active time series.
17+
18+
* If you configure the policy in multiple API Management instances that are in the same region in a subscription, all instances can contribute to the regional active time series limit.

0 commit comments

Comments
 (0)