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 1
1
const checkoutSpan = Sentry . startInactiveSpan ( { name : 'checkout-flow' } ) ;
2
- Sentry . setSpanActive ( checkoutSpan ) ;
2
+ Sentry . setActiveSpanInBrowser ( checkoutSpan ) ;
3
3
4
4
Sentry . startSpan ( { name : 'checkout-step-1' } , ( ) => {
5
5
Sentry . startSpan ( { name : 'checkout-step-1-1' } , ( ) => {
Original file line number Diff line number Diff line change 1
1
const checkoutSpan = Sentry . startInactiveSpan ( { name : 'checkout-flow' } ) ;
2
- Sentry . setSpanActive ( checkoutSpan ) ;
2
+ Sentry . setActiveSpanInBrowser ( checkoutSpan ) ;
3
3
4
4
Sentry . startSpan ( { name : 'checkout-step-1' } , ( ) => { } ) ;
5
5
6
6
const checkoutStep2 = Sentry . startInactiveSpan ( { name : 'checkout-step-2' } ) ;
7
- Sentry . setSpanActive ( checkoutStep2 ) ;
7
+ Sentry . setActiveSpanInBrowser ( checkoutStep2 ) ;
8
8
9
9
Sentry . startSpan ( { name : 'checkout-step-2-1' } , ( ) => {
10
10
// ... `
Original file line number Diff line number Diff line change 1
1
const checkoutSpan = Sentry . startInactiveSpan ( { name : 'checkout-flow' } ) ;
2
- Sentry . setSpanActive ( checkoutSpan ) ;
2
+ Sentry . setActiveSpanInBrowser ( checkoutSpan ) ;
3
3
4
4
Sentry . startSpan ( { name : 'checkout-step-1' } , ( ) => { } ) ;
5
5
6
6
const checkoutStep2 = Sentry . startInactiveSpan ( { name : 'checkout-step-2' } ) ;
7
- Sentry . setSpanActive ( checkoutStep2 ) ;
7
+ Sentry . setActiveSpanInBrowser ( checkoutStep2 ) ;
8
8
9
9
Sentry . startSpan ( { name : 'checkout-step-2-1' } , ( ) => {
10
10
// ... `
You can’t perform that action at this time.
0 commit comments