Skip to content

Commit 8bc459c

Browse files
committed
Correct and extend opentelemetry-trust-incoming-span docs
1 parent 9dc73d1 commit 8bc459c

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

docs/user-guide/nginx-configuration/annotations.md

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -838,8 +838,11 @@ nginx.ingress.kubernetes.io/enable-opentelemetry: "true"
838838
The option to trust incoming trace spans can be enabled or disabled globally through the ConfigMap but this will
839839
sometimes need to be overridden to enable it or disable it for a specific ingress (e.g. only enable on a private endpoint)
840840

841+
!!! note
842+
This annotation requires `nginx.ingress.kubernetes.io/enable-opentelemetry` to be set to `"true"`, otherwise it will be ignored.
843+
841844
```yaml
842-
nginx.ingress.kubernetes.io/opentelemetry-trust-incoming-spans: "true"
845+
nginx.ingress.kubernetes.io/opentelemetry-trust-incoming-span: "true"
843846
```
844847

845848
### X-Forwarded-Prefix Header

0 commit comments

Comments
 (0)