Skip to content

Commit 5bf3582

Browse files
committed
fixup! add toString() back in
1 parent 54b6a14 commit 5bf3582

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

packages/dd-trace/src/format.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -188,7 +188,7 @@ function extractRootTags (trace, span) {
188188
const isLocalRoot = span === context._trace.started[0]
189189
const parentId = context._parentId
190190

191-
if (!isLocalRoot || (parentId && parentId !== '0')) return
191+
if (!isLocalRoot || (parentId && parentId.toString() !== '0')) return
192192

193193
addTag({}, trace.metrics, SAMPLING_RULE_DECISION, context._trace[SAMPLING_RULE_DECISION])
194194
addTag({}, trace.metrics, SAMPLING_LIMIT_DECISION, context._trace[SAMPLING_LIMIT_DECISION])

0 commit comments

Comments
 (0)