File tree Expand file tree Collapse file tree 1 file changed +6
-2
lines changed
packages/tracing-internal/src/browser Expand file tree Collapse file tree 1 file changed +6
-2
lines changed Original file line number Diff line number Diff line change @@ -334,7 +334,9 @@ export const browserTracingIntegration = ((_options: Partial<BrowserTracingOptio
334
334
startTimestamp : browserPerformanceTimeOrigin ? browserPerformanceTimeOrigin / 1000 : undefined ,
335
335
op : 'pageload' ,
336
336
origin : 'auto.pageload.browser' ,
337
- metadata : { source : 'url' } ,
337
+ attributes : {
338
+ [ SEMANTIC_ATTRIBUTE_SENTRY_SOURCE ] : 'url' ,
339
+ } ,
338
340
} ;
339
341
startBrowserTracingPageLoadSpan ( client , context ) ;
340
342
}
@@ -361,7 +363,9 @@ export const browserTracingIntegration = ((_options: Partial<BrowserTracingOptio
361
363
name : WINDOW . location . pathname ,
362
364
op : 'navigation' ,
363
365
origin : 'auto.navigation.browser' ,
364
- metadata : { source : 'url' } ,
366
+ attributes : {
367
+ [ SEMANTIC_ATTRIBUTE_SENTRY_SOURCE ] : 'url' ,
368
+ } ,
365
369
} ;
366
370
367
371
startBrowserTracingNavigationSpan ( client , context ) ;
You can’t perform that action at this time.
0 commit comments