Skip to content

Add link after span creation when using propagation context #2926

Answered by bantonsson
enricoschaaf asked this question in Q&A
Discussion options

You must be logged in to vote

The Span that is represented in the propagated context is the parent of the local Span, and not necessarily from this system, so you can't add information to it. You need to create a local Span that is a child of the propagated context, and add your links to that Span.

Replies: 1 comment 2 replies

Comment options

You must be logged in to vote
2 replies
@enricoschaaf
Comment options

@bantonsson
Comment options

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