Skip to content

how to check if agent has started span, if not how can I start span? #12203

Answered by trask
annaik-mdsol asked this question in Q&A
Discussion options

You must be logged in to vote

I think Span.current().getSpanContext().isValid() is what you're looking for

Replies: 1 comment

Comment options

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