Browse Source

fix(new-trace-url) Updated node path encoding. (#68458)

Trace view page expects `[`span-${spanId}`, `txn-${eventId}`]` to look
for and scroll to span but we were passing [`span:${spanId}`,
`txn:${eventId}`]

Co-authored-by: Abdullah Khan <abdullahkhan@PG9Y57YDXQ.local>
Abdkhan14 11 months ago
parent
commit
eb5ecf7312
1 changed files with 1 additions and 1 deletions
  1. 1 1
      static/app/views/performance/traceDetails/utils.tsx

+ 1 - 1
static/app/views/performance/traceDetails/utils.tsx

@@ -35,7 +35,7 @@ export function getTraceDetailsUrl(
 
   if (organization.features.includes('trace-view-v1')) {
     if (spanId) {
-      queryParams.node = [`span:${spanId}`, `txn:${eventId}`];
+      queryParams.node = [`span-${spanId}`, `txn-${eventId}`];
     }
     return {
       pathname: normalizeUrl(