Skip to content

Commit 1bb9573

Browse files
Abdkhan14Abdullah Khan
andauthored
1 parent c5bf2e6 commit 1bb9573

File tree

1 file changed

+3
-2
lines changed
  • static/app/views/performance/newTraceDetails/traceModels

1 file changed

+3
-2
lines changed

static/app/views/performance/newTraceDetails/traceModels/traceTree.tsx

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2286,8 +2286,9 @@ function nodeToId(n: TraceTreeNode<TraceTree.NodeValue>): TraceTree.NodePath {
22862286
}
22872287
if (isSiblingAutogroupedNode(n)) {
22882288
const child = n.children[0]!;
2289-
if (isSpanNode(child)) {
2290-
return `ag-${child.value.span_id}`;
2289+
if (isSpanNode(child) || isEAPSpanNode(child)) {
2290+
const spanId = isEAPSpanNode(child) ? child.value.event_id : child.value.span_id;
2291+
return `ag-${spanId}`;
22912292
}
22922293
}
22932294
}

0 commit comments

Comments
 (0)