Docs: Improve `opentelemetry-trust-incoming-span`. (#13606)

This commit is contained in:
Adam Rudd 2025-07-18 17:58:27 +02:00 committed by GitHub
parent 8105f0861f
commit 23a4c209b4
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
1 changed files with 4 additions and 1 deletions

View File

@ -838,8 +838,11 @@ nginx.ingress.kubernetes.io/enable-opentelemetry: "true"
The option to trust incoming trace spans can be enabled or disabled globally through the ConfigMap but this will
sometimes need to be overridden to enable it or disable it for a specific ingress (e.g. only enable on a private endpoint)
!!! note
This annotation requires `nginx.ingress.kubernetes.io/enable-opentelemetry` to be set to `"true"`, otherwise it will be ignored.
```yaml
nginx.ingress.kubernetes.io/opentelemetry-trust-incoming-spans: "true"
nginx.ingress.kubernetes.io/opentelemetry-trust-incoming-span: "true"
```
### X-Forwarded-Prefix Header