From 9f400e9d2ab01678d07aab7e4419680a7b3c34b3 Mon Sep 17 00:00:00 2001 From: Brian Marks Date: Tue, 30 Jun 2026 16:48:13 -0400 Subject: [PATCH] fix(rust/parametric): report effective propagation style in /trace/config Mirror the library's effective-extractor resolution: use the extract-specific styles when set, otherwise fall back to the global propagation style (which is what OTEL_PROPAGATORS and a bare DD_TRACE_PROPAGATION_STYLE feed). Co-Authored-By: Claude Sonnet 5 --- utils/build/docker/rust/parametric/src/datadog/dto.rs | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/utils/build/docker/rust/parametric/src/datadog/dto.rs b/utils/build/docker/rust/parametric/src/datadog/dto.rs index 257ce74f56a..bb22ea83ddc 100644 --- a/utils/build/docker/rust/parametric/src/datadog/dto.rs +++ b/utils/build/docker/rust/parametric/src/datadog/dto.rs @@ -204,8 +204,12 @@ fn format_global_tags(config: &Config) -> String { } fn format_trace_propagation_extract(config: &Config) -> String { + // Mirror the library's effective-extractor resolution: use the extract-specific styles when + // set, otherwise fall back to the global propagation style (which is what OTEL_PROPAGATORS and + // a bare DD_TRACE_PROPAGATION_STYLE feed). See dd-trace-rs propagation/config.rs::get_extractors. config .trace_propagation_style_extract() + .or_else(|| config.trace_propagation_style()) .map(|styles| { styles .iter()