File tree Expand file tree Collapse file tree 2 files changed +2
-0
lines changed
dd-trace-api/src/main/java/datadog/trace/api
dd-trace-core/src/main/java/datadog/trace/core/propagation Expand file tree Collapse file tree 2 files changed +2
-0
lines changed Original file line number Diff line number Diff line change @@ -77,6 +77,7 @@ public final class ConfigDefaults {
7777 static final int DEFAULT_SCOPE_ITERATION_KEEP_ALIVE = 30 ; // in seconds
7878 static final int DEFAULT_PARTIAL_FLUSH_MIN_SPANS = 1000 ;
7979 static final boolean DEFAULT_PROPAGATION_EXTRACT_LOG_HEADER_NAMES_ENABLED = false ;
80+ // TODO: add BAGGAGE to the list of default propagation styles
8081 static final Set <TracePropagationStyle > DEFAULT_TRACE_PROPAGATION_STYLE =
8182 new LinkedHashSet <>(asList (DATADOG , TRACECONTEXT ));
8283 static final Set <PropagationStyle > DEFAULT_PROPAGATION_STYLE =
Original file line number Diff line number Diff line change @@ -233,6 +233,7 @@ public <C> TagContext extract(
233233 context = extractedContext ;
234234 // Stop extraction if only extracting first valid context and drop everything else
235235 if (this .extractFirst ) {
236+ // TODO: change this logic to always extract baggage
236237 break ;
237238 }
238239 }
You can’t perform that action at this time.
0 commit comments