From 23a4c209b4de7cc6ea2cce89a586a8825704cfb7 Mon Sep 17 00:00:00 2001 From: Adam Rudd <291016+adamvr@users.noreply.github.com> Date: Fri, 18 Jul 2025 17:58:27 +0200 Subject: [PATCH] Docs: Improve `opentelemetry-trust-incoming-span`. (#13606) --- docs/user-guide/nginx-configuration/annotations.md | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/docs/user-guide/nginx-configuration/annotations.md b/docs/user-guide/nginx-configuration/annotations.md index 82ad07662..85b3fa71f 100755 --- a/docs/user-guide/nginx-configuration/annotations.md +++ b/docs/user-guide/nginx-configuration/annotations.md @@ -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