@@ -16,6 +16,7 @@ import { startSpanManual } from '../../src/js';
1616import { TimeToFullDisplay , TimeToInitialDisplay } from '../../src/js/tracing' ;
1717import { _setAppStartEndTimestampMs } from '../../src/js/tracing/integrations/appStart' ;
1818import { SPAN_ORIGIN_AUTO_NAVIGATION_REACT_NAVIGATION , SPAN_ORIGIN_AUTO_UI_TIME_TO_DISPLAY , SPAN_ORIGIN_MANUAL_UI_TIME_TO_DISPLAY } from '../../src/js/tracing/origin' ;
19+ import { SPAN_THREAD_NAME , SPAN_THREAD_NAME_JAVASCRIPT } from '../../src/js/tracing/span' ;
1920import { isHermesEnabled , notWeb } from '../../src/js/utils/environment' ;
2021import { createSentryFallbackEventEmitter } from '../../src/js/utils/sentryeventemitterfallback' ;
2122import { RN_GLOBAL_OBJ } from '../../src/js/utils/worldwide' ;
@@ -80,6 +81,7 @@ describe('React Navigation - TTID', () => {
8081 data : {
8182 'sentry.op' : 'ui.load.initial_display' ,
8283 'sentry.origin' : SPAN_ORIGIN_AUTO_UI_TIME_TO_DISPLAY ,
84+ [ SPAN_THREAD_NAME ] : SPAN_THREAD_NAME_JAVASCRIPT ,
8385 } ,
8486 description : 'New Screen initial display' ,
8587 op : 'ui.load.initial_display' ,
@@ -110,6 +112,7 @@ describe('React Navigation - TTID', () => {
110112 data : {
111113 'sentry.op' : 'ui.load.initial_display' ,
112114 'sentry.origin' : SPAN_ORIGIN_AUTO_UI_TIME_TO_DISPLAY ,
115+ [ SPAN_THREAD_NAME ] : SPAN_THREAD_NAME_JAVASCRIPT ,
113116 } ,
114117 description : 'New Screen initial display' ,
115118 op : 'ui.load.initial_display' ,
@@ -146,6 +149,7 @@ describe('React Navigation - TTID', () => {
146149 data : {
147150 'sentry.op' : 'ui.load.initial_display' ,
148151 'sentry.origin' : SPAN_ORIGIN_AUTO_UI_TIME_TO_DISPLAY ,
152+ [ SPAN_THREAD_NAME ] : SPAN_THREAD_NAME_JAVASCRIPT ,
149153 } ,
150154 description : 'New Screen initial display' ,
151155 op : 'ui.load.initial_display' ,
@@ -203,6 +207,7 @@ describe('React Navigation - TTID', () => {
203207 'sentry.op' : 'navigation.processing' ,
204208 'sentry.origin' : SPAN_ORIGIN_AUTO_NAVIGATION_REACT_NAVIGATION ,
205209 'sentry.source' : 'custom' ,
210+ [ SPAN_THREAD_NAME ] : SPAN_THREAD_NAME_JAVASCRIPT ,
206211 } ,
207212 description : 'Navigation dispatch to screen New Screen mounted' ,
208213 op : 'navigation.processing' ,
@@ -231,6 +236,7 @@ describe('React Navigation - TTID', () => {
231236 'sentry.op' : 'navigation.processing' ,
232237 'sentry.origin' : SPAN_ORIGIN_AUTO_NAVIGATION_REACT_NAVIGATION ,
233238 'sentry.source' : 'custom' ,
239+ [ SPAN_THREAD_NAME ] : SPAN_THREAD_NAME_JAVASCRIPT ,
234240 } ,
235241 description : 'Navigation dispatch to screen Initial Screen mounted' ,
236242 op : 'navigation.processing' ,
@@ -261,6 +267,7 @@ describe('React Navigation - TTID', () => {
261267 data : {
262268 'sentry.op' : 'ui.load.initial_display' ,
263269 'sentry.origin' : SPAN_ORIGIN_AUTO_UI_TIME_TO_DISPLAY ,
270+ [ SPAN_THREAD_NAME ] : SPAN_THREAD_NAME_JAVASCRIPT ,
264271 } ,
265272 description : 'Initial Screen initial display' ,
266273 op : 'ui.load.initial_display' ,
@@ -295,6 +302,7 @@ describe('React Navigation - TTID', () => {
295302 data : {
296303 'sentry.op' : 'ui.load.full_display' ,
297304 'sentry.origin' : SPAN_ORIGIN_MANUAL_UI_TIME_TO_DISPLAY ,
305+ [ SPAN_THREAD_NAME ] : SPAN_THREAD_NAME_JAVASCRIPT ,
298306 } ,
299307 description : 'Time To Full Display' ,
300308 op : 'ui.load.full_display' ,
@@ -371,6 +379,7 @@ describe('React Navigation - TTID', () => {
371379 data : {
372380 'sentry.op' : 'ui.load.initial_display' ,
373381 'sentry.origin' : SPAN_ORIGIN_AUTO_UI_TIME_TO_DISPLAY ,
382+ [ SPAN_THREAD_NAME ] : SPAN_THREAD_NAME_JAVASCRIPT ,
374383 } ,
375384 description : 'New Screen initial display' ,
376385 op : 'ui.load.initial_display' ,
0 commit comments