Skip to content

How to combine multiple traces that get batched together? #2654

Answered by dyladan
KyleAMathews asked this question in Q&A
Discussion options

You must be logged in to vote

The best way to handle this is probably to use span links. In that case the batch span is its own root (or whatever triggers the batch to run may be a root) and it adds all the spans which added an item to the batch as a link.

It depends on your tracing backend though since they don't all support links.

Replies: 1 comment 1 reply

Comment options

You must be logged in to vote
1 reply
@KyleAMathews
Comment options

Answer selected by KyleAMathews
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants
Converted from issue

This discussion was converted from issue #2653 on December 06, 2021 20:12.