@@ -283,12 +283,15 @@ describe('wrapServerLoadWithSentry calls trace', () => {
283
283
[ SEMANTIC_ATTRIBUTE_SENTRY_SOURCE ] : 'route' ,
284
284
[ SEMANTIC_ATTRIBUTE_SENTRY_OP ] : 'function.sveltekit.server.load' ,
285
285
'http.method' : 'GET' ,
286
+ 'otel.kind' : 'INTERNAL' ,
287
+ 'sentry.sample_rate' : 1 ,
286
288
} ,
287
289
op : 'function.sveltekit.server.load' ,
288
290
parent_span_id : '1234567890abcdef' ,
289
291
span_id : expect . any ( String ) ,
290
292
trace_id : '1234567890abcdef1234567890abcdef' ,
291
293
origin : 'auto.function.sveltekit' ,
294
+ status : 'ok' ,
292
295
} ) ;
293
296
expect ( transaction . transaction ) . toEqual ( '/users/[id]' ) ;
294
297
expect ( transaction . sdkProcessingMetadata ?. dynamicSamplingContext ) . toEqual ( {
@@ -330,11 +333,14 @@ describe('wrapServerLoadWithSentry calls trace', () => {
330
333
[ SEMANTIC_ATTRIBUTE_SENTRY_OP ] : 'function.sveltekit.server.load' ,
331
334
[ SEMANTIC_ATTRIBUTE_SENTRY_SAMPLE_RATE ] : 1 ,
332
335
'http.method' : 'GET' ,
336
+ 'otel.kind' : 'INTERNAL' ,
333
337
} ,
334
338
op : 'function.sveltekit.server.load' ,
335
339
span_id : expect . any ( String ) ,
336
340
trace_id : expect . not . stringContaining ( '1234567890abcdef1234567890abcdef' ) ,
341
+ parent_span_id : expect . not . stringContaining ( '1234567890abcdef' ) ,
337
342
origin : 'auto.function.sveltekit' ,
343
+ status : 'ok' ,
338
344
} ) ;
339
345
expect ( transaction . transaction ) . toEqual ( '/users/[id]' ) ;
340
346
expect ( transaction . sdkProcessingMetadata ?. dynamicSamplingContext ) . toEqual ( {
0 commit comments