Skip to content

Commit fae9597

Browse files
author
gitName
committed
[APIM] Backend ID support in emit-token-metric policies
1 parent a4e34d5 commit fae9597

File tree

3 files changed

+23
-4
lines changed

3 files changed

+23
-4
lines changed

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

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -65,11 +65,11 @@ The `azure-openai-emit-token-metric` policy sends custom metrics to Application
6565
| name | A string or policy expression. Name of dimension. | Yes | N/A |
6666
| value | A string or policy expression. Value of dimension. Can only be omitted if `name` matches one of the default dimensions. If so, value is provided as per dimension name. | No | N/A |
6767

68-
[!INCLUDE [api-management-emit-metric-dimensions](../../includes/api-management-emit-metric-dimensions.md)]
68+
[!INCLUDE [api-management-emit-metric-dimensions-llm](../../includes/api-management-emit-metric-dimensions-llm.md)]
6969

7070
## Usage
7171

72-
- [**Policy sections:**](./api-management-howto-policies.md#sections) inbound, outbound
72+
- [**Policy sections:**](./api-management-howto-policies.md#sections) inbound
7373
- [**Policy scopes:**](./api-management-howto-policies.md#scopes) global, workspace, product, API, operation
7474
- [**Gateways:**](api-management-gateways-overview.md) classic, v2, consumption, self-hosted, workspace
7575

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

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -67,12 +67,12 @@ The `llm-emit-token-metric` policy sends custom metrics to Application Insights
6767
| name | A string or policy expression. Name of dimension. | Yes | N/A |
6868
| value | A string or policy expression. Value of dimension. Can only be omitted if `name` matches one of the default dimensions. If so, value is provided as per dimension name. | No | N/A |
6969

70-
[!INCLUDE [api-management-emit-metric-dimensions](../../includes/api-management-emit-metric-dimensions.md)]
70+
[!INCLUDE [api-management-emit-metric-dimensions-llm](../../includes/api-management-emit-metric-dimensions-llm.md)]
7171

7272

7373
## Usage
7474

75-
- [**Policy sections:**](./api-management-howto-policies.md#sections) inbound, outbound
75+
- [**Policy sections:**](./api-management-howto-policies.md#sections) inbound
7676
- [**Policy scopes:**](./api-management-howto-policies.md#scopes) global, workspace, product, API, operation
7777
- [**Gateways:**](api-management-gateways-overview.md) classic, v2, consumption, self-hosted, workspace
7878

Lines changed: 19 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,19 @@
1+
---
2+
author: dlepow
3+
ms.service: azure-api-management
4+
ms.custom:
5+
- build-2024
6+
ms.topic: include
7+
ms.date: 04/18/2025
8+
ms.author: danlep
9+
---
10+
11+
### Default dimension names that may be used without value
12+
13+
* API ID
14+
* Operation ID
15+
* Product ID
16+
* User ID
17+
* Subscription ID
18+
* Location
19+
* Gateway ID

0 commit comments

Comments
 (0)