File tree Expand file tree Collapse file tree 3 files changed +5
-5
lines changed
dev-packages/browser-integration-tests/suites/tracing/setSpanActive Expand file tree Collapse file tree 3 files changed +5
-5
lines changed Original file line number Diff line number Diff line change 11const checkoutSpan = Sentry . startInactiveSpan ( { name : 'checkout-flow' } ) ;
2- Sentry . setSpanActive ( checkoutSpan ) ;
2+ Sentry . setActiveSpanInBrowser ( checkoutSpan ) ;
33
44Sentry . startSpan ( { name : 'checkout-step-1' } , ( ) => {
55 Sentry . startSpan ( { name : 'checkout-step-1-1' } , ( ) => {
Original file line number Diff line number Diff line change 11const checkoutSpan = Sentry . startInactiveSpan ( { name : 'checkout-flow' } ) ;
2- Sentry . setSpanActive ( checkoutSpan ) ;
2+ Sentry . setActiveSpanInBrowser ( checkoutSpan ) ;
33
44Sentry . startSpan ( { name : 'checkout-step-1' } , ( ) => { } ) ;
55
66const checkoutStep2 = Sentry . startInactiveSpan ( { name : 'checkout-step-2' } ) ;
7- Sentry . setSpanActive ( checkoutStep2 ) ;
7+ Sentry . setActiveSpanInBrowser ( checkoutStep2 ) ;
88
99Sentry . startSpan ( { name : 'checkout-step-2-1' } , ( ) => {
1010 // ... `
Original file line number Diff line number Diff line change 11const checkoutSpan = Sentry . startInactiveSpan ( { name : 'checkout-flow' } ) ;
2- Sentry . setSpanActive ( checkoutSpan ) ;
2+ Sentry . setActiveSpanInBrowser ( checkoutSpan ) ;
33
44Sentry . startSpan ( { name : 'checkout-step-1' } , ( ) => { } ) ;
55
66const checkoutStep2 = Sentry . startInactiveSpan ( { name : 'checkout-step-2' } ) ;
7- Sentry . setSpanActive ( checkoutStep2 ) ;
7+ Sentry . setActiveSpanInBrowser ( checkoutStep2 ) ;
88
99Sentry . startSpan ( { name : 'checkout-step-2-1' } , ( ) => {
1010 // ... `
You can’t perform that action at this time.
0 commit comments