Skip to content
Discussion options

You must be logged in to vote

I think it really depends on what you need to do. Sometimes it could be easy, for example if you need to add an attribute to the server span created by tomcat (or some other) instrumentation you could just call Span.current().setAttribute(...) or LocalRootSpan.current().setAttribute(...). Other times it could be complicated.

In practice, it often means copying and pasting most of the existing implementation and modifying only the necessary parts, which also means that whenever the original instrumentation changes, those changes need to be tracked and reflected manually as well.

You could consider whether the functionality you are implemented is suitable for upstream contribution. Or you…

Replies: 3 comments 3 replies

Comment options

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

Comment options

You must be logged in to vote
0 replies
Comment options

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

@laurit
Comment options

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