NodeJS: How do I get the root span (or just parent span) from the current span or context? #5449
Unanswered
jamischarles
asked this question in
Q&A
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
I've been scouring google, the API, issues, and for the life of me I can't figure this out. I know I must be missing some key piece of knowledge here.
My current approach
I assume I can do this:
trace.getActiveSpan()
currentSpan.parentSpanId()
Any ideas? 🙏
Beta Was this translation helpful? Give feedback.
All reactions