Skip to content
Draft
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 4 additions & 0 deletions utils/build/docker/rust/parametric/src/datadog/dto.rs
Original file line number Diff line number Diff line change
Expand Up @@ -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()
Expand Down
Loading