Skip to content

Get span by id #4158

Closed Answered by Flarna
ris314 asked this question in Q&A
Sep 22, 2023 · 1 comments · 1 reply
Discussion options

You must be logged in to vote

That's not possible. The parent span could be already ended, exported and garbage collected. Or it could be a even on a different process if it was extracted from http headers.
Note that a span holds only the the span id of it's parent, not an actual reference to it.

Replies: 1 comment 1 reply

Comment options

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

Answer selected by ris314
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