We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 79ca6e4 commit 38c4abdCopy full SHA for 38c4abd
dd-trace-core/src/main/java/datadog/trace/core/propagation/HttpCodec.java
@@ -239,7 +239,7 @@ public <C> TagContext extract(
239
if (comingFromTraceContext) {
240
applyTraceContextToFirstContext(context, extractedContext, extractionCache);
241
}
242
- } else {
+ } else if (extractedContext.getSpanId() != 0) { // Check that SpanID of secondary extracted context is valid
243
// Terminate extracted context and add it as span link
244
context.addTerminatedContextLink(
245
DDSpanLink.from(
0 commit comments