Skip to content

Commit 39e6c9d

Browse files
committed
Updating allowed additional metric dimensions to 5 in docs.
1 parent 7301db3 commit 39e6c9d

File tree

4 files changed

+10
-5
lines changed

4 files changed

+10
-5
lines changed

articles/api-management/azure-openai-emit-token-metric-policy.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -84,7 +84,7 @@ The `azure-openai-emit-token-metric` policy sends custom metrics to Application
8484
### Usage notes
8585

8686
* This policy can be used multiple times per policy definition.
87-
* You can configure at most 10 custom dimensions for this policy.
87+
* You can configure at most 5 custom dimensions for this policy.
8888
* This policy can optionally be configured when adding an API from the Azure OpenAI Service using the portal.
8989
* Where available, values in the usage section of the response from the Azure OpenAI Service API are used to determine token metrics.
9090
* Certain Azure OpenAI endpoints support streaming of responses. When `stream` is set to `true` in the API request to enable streaming, token metrics are estimated.

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -77,7 +77,7 @@ The `emit-metric` policy sends custom metrics in the specified format to Applica
7777

7878
### Usage notes
7979

80-
* You can configure at most 10 custom dimensions for this policy.
80+
* You can configure at most 5 custom dimensions for this policy.
8181

8282
## Example
8383

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -86,7 +86,7 @@ The `llm-emit-token-metric` policy sends custom metrics to Application Insights
8686
### Usage notes
8787

8888
* This policy can be used multiple times per policy definition.
89-
* You can configure at most 10 custom dimensions for this policy.
89+
* You can configure at most 5 custom dimensions for this policy.
9090
* Where available, values in the usage section of the response from the LLM API are used to determine token metrics.
9191
* Certain LLM endpoints support streaming of responses. When `stream` is set to `true` in the API request to enable streaming, token metrics are estimated.
9292

includes/api-management-custom-metrics-limits.md

Lines changed: 7 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -7,11 +7,16 @@ ms.date: 09/25/2024
77
ms.custom:
88
---
99

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).
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). 5 of these are used for default dimensions including the following:
11+
12+
• Region
13+
• Service ID
14+
• Service Name
15+
• Service Type
1116

1217
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`:
1318

14-
* You can configure a maximum of 10 custom dimensions per policy.
19+
* You can configure a maximum of 5 custom dimensions per policy.
1520

1621
* 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.
1722

0 commit comments

Comments
 (0)