Commit 6dd9fc1
fix(trace): show span IDs in trace view and fix event_id mapping
The trace detail API returns `event_id` instead of `span_id` on each
span, so all span IDs rendered as `undefined` in the span tree and
`span view` lookups always failed. Normalize the response in
`getDetailedTrace` by copying `event_id` → `span_id`, and append the
span ID to each tree line so users can copy it into `span view`.
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>1 parent 4304ab8 commit 6dd9fc1
2 files changed
+19
-1
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1503 | 1503 | | |
1504 | 1504 | | |
1505 | 1505 | | |
1506 | | - | |
| 1506 | + | |
| 1507 | + | |
| 1508 | + | |
| 1509 | + | |
| 1510 | + | |
| 1511 | + | |
| 1512 | + | |
| 1513 | + | |
| 1514 | + | |
| 1515 | + | |
| 1516 | + | |
| 1517 | + | |
| 1518 | + | |
| 1519 | + | |
| 1520 | + | |
| 1521 | + | |
| 1522 | + | |
1507 | 1523 | | |
1508 | 1524 | | |
1509 | 1525 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1122 | 1122 | | |
1123 | 1123 | | |
1124 | 1124 | | |
| 1125 | + | |
| 1126 | + | |
1125 | 1127 | | |
1126 | 1128 | | |
1127 | 1129 | | |
| |||
0 commit comments