@@ -283,12 +283,15 @@ describe('wrapServerLoadWithSentry calls trace', () => {
283283 [ SEMANTIC_ATTRIBUTE_SENTRY_SOURCE ] : 'route' ,
284284 [ SEMANTIC_ATTRIBUTE_SENTRY_OP ] : 'function.sveltekit.server.load' ,
285285 'http.method' : 'GET' ,
286+ 'otel.kind' : 'INTERNAL' ,
287+ 'sentry.sample_rate' : 1 ,
286288 } ,
287289 op : 'function.sveltekit.server.load' ,
288290 parent_span_id : '1234567890abcdef' ,
289291 span_id : expect . any ( String ) ,
290292 trace_id : '1234567890abcdef1234567890abcdef' ,
291293 origin : 'auto.function.sveltekit' ,
294+ status : 'ok' ,
292295 } ) ;
293296 expect ( transaction . transaction ) . toEqual ( '/users/[id]' ) ;
294297 expect ( transaction . sdkProcessingMetadata ?. dynamicSamplingContext ) . toEqual ( {
@@ -330,11 +333,14 @@ describe('wrapServerLoadWithSentry calls trace', () => {
330333 [ SEMANTIC_ATTRIBUTE_SENTRY_OP ] : 'function.sveltekit.server.load' ,
331334 [ SEMANTIC_ATTRIBUTE_SENTRY_SAMPLE_RATE ] : 1 ,
332335 'http.method' : 'GET' ,
336+ 'otel.kind' : 'INTERNAL' ,
333337 } ,
334338 op : 'function.sveltekit.server.load' ,
335339 span_id : expect . any ( String ) ,
336340 trace_id : expect . not . stringContaining ( '1234567890abcdef1234567890abcdef' ) ,
341+ parent_span_id : expect . not . stringContaining ( '1234567890abcdef' ) ,
337342 origin : 'auto.function.sveltekit' ,
343+ status : 'ok' ,
338344 } ) ;
339345 expect ( transaction . transaction ) . toEqual ( '/users/[id]' ) ;
340346 expect ( transaction . sdkProcessingMetadata ?. dynamicSamplingContext ) . toEqual ( {
0 commit comments