Skip to content

OpenTelemetry Only Emit traces when service restarted #6594

Closed Answered by swapnil-kotwal-sp
swapnil-kotwal-sp asked this question in Q&A
Discussion options

You must be logged in to vote

Hey Gentleman,

We have our home-grown instrumentation framework where I was registering tracer instance to static context. This framework works well with running spring-boot based services but in this case where we load classes on-demand the tracer instance were needed to be passed for each request.

We have handled the situation and it is working fine now.

GlobalTracer.register(tracer);

Replies: 2 comments

Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Answer selected by swapnil-kotwal-sp
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