You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
[Feature Request] Show span links from the producer side too #2828
Added SpansReverseLinksSubpanel, which scans rows in the same trace for spans whose __hdx_span_links reference the current span, reusing the existing SpanLinksSubpanel for rendering.
Wired it into DBRowOverviewPanel as a new Referenced By accordion section, shown only when reverse links exist.
Threaded allTraceRows from DBTracePanel (where the trace’s full span list is already fetched for the waterfall chart) through SpanDetailPanel into RowOverviewPanel, so reverse links are resolved against the full trace rather than just the selected span.
Added unit tests covering empty data, missing links, and multiple matching spans.
Would appreciate a review when you get a chance. Thanks!
Activity
pulpdrew commentedon Aug 6, 2026
Thanks @drewhammond! We've added this to our backlog, and are open to external contributions
Vansh98789 commentedon Aug 11, 2026
Hi @drewhammond and @pulpdrew, I’ve opened PR #2868 to fix this.
Approach:
SpansReverseLinksSubpanel, which scans rows in the same trace for spans whose__hdx_span_linksreference the current span, reusing the existingSpanLinksSubpanelfor rendering.DBRowOverviewPanelas a new Referenced By accordion section, shown only when reverse links exist.allTraceRowsfromDBTracePanel(where the trace’s full span list is already fetched for the waterfall chart) throughSpanDetailPanelintoRowOverviewPanel, so reverse links are resolved against the full trace rather than just the selected span.Would appreciate a review when you get a chance. Thanks!