Join GitHub today
GitHub is home to over 40 million developers working together to host and review code, manage projects, and build software together.Sign up
Fix orphaned spans bug #2956
Fix an obvious bug pointed out in #2922 .
Mainly change the calculation method of
Please see here. Orphan spans are simply appended to the root span:
This PR uses span indices to calculate parent-child relationship instead of span IDs.
p.s. TraceSummary component is fairly complex, so I wanted to create custom hooks and improve readability, but I'm not doing it now to minimize PR.