Skip to content

Commit

Permalink
add logging
Browse files Browse the repository at this point in the history
  • Loading branch information
khanayan123 committed Feb 11, 2025
1 parent 1c3f5c0 commit 231795b
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions packages/dd-trace/src/opentracing/propagation/text_map.js
Original file line number Diff line number Diff line change
Expand Up @@ -663,6 +663,7 @@ class TextMapPropagator {
const tid = traceId.substring(0, 16)

// don't set upper 64 bits if they are all zeros or 128 bit trace id generation is disabled
console.log(123123123, this._config.traceId128BitGenerationEnabled)
if (tid === zeroTraceId || this._config.traceId128BitGenerationEnabled === false) return

spanContext._trace.tags['_dd.p.tid'] = tid
Expand Down

0 comments on commit 231795b

Please sign in to comment.