Skip to content

How to nest multiple Span? #158

Closed Answered by holicc
holicc asked this question in Q&A
Jul 30, 2024 · 2 comments · 3 replies
Discussion options

You must be logged in to vote

Oh, I know why the spans are not nested. It's because I created a span first and did not set its parent, so I got root_span <- span (with new context) <- test_span. I broke the hierarchy of Register. So I created a root_span with context to fix the problem.

Replies: 2 comments 3 replies

Comment options

You must be logged in to vote
3 replies
@holicc
Comment options

@ymgyt
Comment options

@holicc
Comment options

Comment options

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