You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: site/docs/capabilities/observability/metrics.md
+6Lines changed: 6 additions & 0 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -41,6 +41,12 @@ Each metric comes with some default attributes such as:
41
41
-`gen_ai.response.model` - The model name returned in the response
42
42
-`gen_ai.provider.name` - The provider name (e.g., `openai`, `anthropic`)
43
43
44
+
:::tip
45
+
46
+
You can enrich the metrics with custom labels extracted from HTTP request headers. It can be configured via the `controller.metricsRequestHeaderAttributes` helm installation value. Please refer to [values.yaml](https://github.com/envoyproxy/ai-gateway/blob/main/manifests/charts/ai-gateway-helm/values.yaml) for more details including other configurations.
47
+
48
+
:::
49
+
44
50
## Trying it out
45
51
46
52
Before you begin, you'll need to complete the basic setup from the [Basic Usage](/docs/getting-started/basic-usage) guide.
0 commit comments