From 8bc459c042b29bb0776f7f9983ed779234a61b8f Mon Sep 17 00:00:00 2001 From: Adam Rudd Date: Fri, 11 Jul 2025 07:05:44 +0200 Subject: [PATCH] Correct and extend opentelemetry-trust-incoming-span docs --- 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 82ad076626..85b3fa71f8 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