Skip to content

Commit 9a3f3a8

Browse files
committed
fix: add required span.parent_id
1 parent 7bf8e3e commit 9a3f3a8

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

lib/instrumentation/span.js

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -149,6 +149,7 @@ Span.prototype._encode = function (cb) {
149149
var payload = {
150150
id: self.id,
151151
transaction_id: self.transaction.id,
152+
parent_id: self.transaction.id,
152153
trace_id: self.transaction.traceId,
153154
timestamp: self.transaction.timestamp,
154155
name: self.name,

0 commit comments

Comments
 (0)