Skip to content
This repository was archived by the owner on Jan 23, 2025. It is now read-only.

Commit 5b08cc1

Browse files
committed
wip: add tracing
* tracing info should ideally be passed in message object * and not payload - this is temp while we update bus-api * to allow "trace" field in message
1 parent f6740cb commit 5b08cc1

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/app.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -65,7 +65,7 @@ const dataHandler = (messageSet, topic, partition) => Promise.each(messageSet, a
6565
} = {
6666
traceId: null,
6767
parentSegmentId: null
68-
} } = messageJSON;
68+
} } = messageJSON.payload;
6969

7070
console.log('tracing information', traceId, parentSegmentId);
7171

0 commit comments

Comments
 (0)