diff --git a/src/JaegerHttpTraceFormat.ts b/src/JaegerHttpTraceFormat.ts index 45a85b7f0f0..aec84b7aa0f 100644 --- a/src/JaegerHttpTraceFormat.ts +++ b/src/JaegerHttpTraceFormat.ts @@ -58,9 +58,9 @@ export class JaegerHttpTraceFormat implements HttpTextFormat { const spanContext = getParentSpanContext(context); if (!spanContext) return; - const traceFlags = `0${( - spanContext.traceFlags || TraceFlags.UNSAMPLED - ).toString(16)}`; + const traceFlags = `0${(spanContext.traceFlags || TraceFlags.NONE).toString( + 16 + )}`; setter( carrier,