Summary
Rename the legacy propagation style string "b3 single header" to canonical
"b3".
Detection Criteria
Detect exact string values in propagation-style contexts:
propagationStyle
DD_TRACE_PROPAGATION_STYLE
- assignments to
process.env.DD_TRACE_PROPAGATION_STYLE
Transformation Logic
Replace the exact value with "b3".
Before / After Example
tracer.init({ propagationStyle: ["datadog", "b3 single header"] });
tracer.init({ propagationStyle: ["datadog", "b3"] });
Notes / Edge Cases
Do not rewrite unrelated string literals. Programmatic propagationStyle
rewrites must be inside a dd-trace .init(...) call. The package workflow
also has a gated AI config step for exact active propagation-style config in
.env, YAML, Dockerfile, shell, CI, and deployment files.
Summary
Rename the legacy propagation style string
"b3 single header"to canonical"b3".Detection Criteria
Detect exact string values in propagation-style contexts:
propagationStyleDD_TRACE_PROPAGATION_STYLEprocess.env.DD_TRACE_PROPAGATION_STYLETransformation Logic
Replace the exact value with
"b3".Before / After Example
Notes / Edge Cases
Do not rewrite unrelated string literals. Programmatic
propagationStylerewrites must be inside a
dd-trace.init(...)call. The package workflowalso has a gated AI config step for exact active propagation-style config in
.env, YAML, Dockerfile, shell, CI, and deployment files.