Skip to content

util/tracing: remove fallbacks for OTEL_TRACE_PARENT, OTEL_TRACE_STATE - #6874

Merged
tonistiigi merged 1 commit into
moby:masterfrom
thaJeztah:rm_deprecated_otel_envs
Jun 23, 2026
Merged

util/tracing: remove fallbacks for OTEL_TRACE_PARENT, OTEL_TRACE_STATE#6874
tonistiigi merged 1 commit into
moby:masterfrom
thaJeztah:rm_deprecated_otel_envs

Conversation

@thaJeztah

Copy link
Copy Markdown
Member

Relates to:

util/tracing: remove fallbacks for OTEL_TRACE_PARENT, OTEL_TRACE_STATE

The OTEL_TRACE_PARENT and OTEL_TRACE_STATE environment variables were deprecated in BuildKit v0.10 (f5dbcf6) because they were deprecated in the OTel specification in favor of the TRACEPARENT and TRACESTATE env-vars, aligning with the W3C traceparent and W3C tracestate headers.

The OTEL_TRACE_PARENT and OTEL_TRACE_STATE environment variables were
deprecated in BuildKit v0.10 (f5dbcf6)
because they were deprecated in the OTel specification in favor of the
TRACEPARENT and TRACESTATE env-vars, aligning with the [W3C traceparent]
and [W3C tracestate] headers.

[W3C traceparent]: https://www.w3.org/TR/trace-context/#traceparent-header
[W3C tracestate]: https://www.w3.org/TR/trace-context/#tracestate-header

Signed-off-by: Sebastiaan van Stijn <github@gone.nl>
@thaJeztah
thaJeztah marked this pull request as ready for review June 15, 2026 10:14
@tonistiigi
tonistiigi merged commit 28fb74f into moby:master Jun 23, 2026
193 checks passed
@thaJeztah
thaJeztah deleted the rm_deprecated_otel_envs branch June 23, 2026 07:23
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants