@@ -84,7 +84,11 @@ describe('Integration | Transactions', () => {
84
84
} ,
85
85
runtime : { name : 'node' , version : expect . any ( String ) } ,
86
86
trace : {
87
- data : { 'otel.kind' : 'INTERNAL' , 'sentry.op' : 'test op' } ,
87
+ data : {
88
+ 'otel.kind' : 'INTERNAL' ,
89
+ 'sentry.op' : 'test op' ,
90
+ 'sentry.origin' : 'auto.test' ,
91
+ } ,
88
92
op : 'test op' ,
89
93
span_id : expect . any ( String ) ,
90
94
status : 'ok' ,
@@ -148,7 +152,10 @@ describe('Integration | Transactions', () => {
148
152
// This is the same behavior as for the "regular" SDKs
149
153
expect ( spans . map ( span => spanToJSON ( span ) ) ) . toEqual ( [
150
154
{
151
- data : { 'otel.kind' : 'INTERNAL' } ,
155
+ data : {
156
+ 'otel.kind' : 'INTERNAL' ,
157
+ 'sentry.origin' : 'manual' ,
158
+ } ,
152
159
description : 'inner span 1' ,
153
160
origin : 'manual' ,
154
161
parent_span_id : expect . any ( String ) ,
@@ -159,7 +166,11 @@ describe('Integration | Transactions', () => {
159
166
trace_id : expect . any ( String ) ,
160
167
} ,
161
168
{
162
- data : { 'otel.kind' : 'INTERNAL' , 'test.inner' : 'test value' } ,
169
+ data : {
170
+ 'otel.kind' : 'INTERNAL' ,
171
+ 'test.inner' : 'test value' ,
172
+ 'sentry.origin' : 'manual' ,
173
+ } ,
163
174
description : 'inner span 2' ,
164
175
origin : 'manual' ,
165
176
parent_span_id : expect . any ( String ) ,
@@ -244,7 +255,11 @@ describe('Integration | Transactions', () => {
244
255
} ,
245
256
} ) ,
246
257
trace : {
247
- data : { 'otel.kind' : 'INTERNAL' , 'sentry.op' : 'test op' } ,
258
+ data : {
259
+ 'otel.kind' : 'INTERNAL' ,
260
+ 'sentry.op' : 'test op' ,
261
+ 'sentry.origin' : 'auto.test' ,
262
+ } ,
248
263
op : 'test op' ,
249
264
span_id : expect . any ( String ) ,
250
265
status : 'ok' ,
@@ -286,7 +301,11 @@ describe('Integration | Transactions', () => {
286
301
} ,
287
302
} ) ,
288
303
trace : {
289
- data : { 'otel.kind' : 'INTERNAL' , 'sentry.op' : 'test op b' } ,
304
+ data : {
305
+ 'otel.kind' : 'INTERNAL' ,
306
+ 'sentry.op' : 'test op b' ,
307
+ 'sentry.origin' : 'manual' ,
308
+ } ,
290
309
op : 'test op b' ,
291
310
span_id : expect . any ( String ) ,
292
311
status : 'ok' ,
@@ -363,7 +382,11 @@ describe('Integration | Transactions', () => {
363
382
attributes : { } ,
364
383
} ) ,
365
384
trace : {
366
- data : { 'otel.kind' : 'INTERNAL' , 'sentry.op' : 'test op' } ,
385
+ data : {
386
+ 'otel.kind' : 'INTERNAL' ,
387
+ 'sentry.op' : 'test op' ,
388
+ 'sentry.origin' : 'auto.test' ,
389
+ } ,
367
390
op : 'test op' ,
368
391
span_id : expect . any ( String ) ,
369
392
parent_span_id : parentSpanId ,
@@ -401,7 +424,10 @@ describe('Integration | Transactions', () => {
401
424
// This is the same behavior as for the "regular" SDKs
402
425
expect ( spans . map ( span => spanToJSON ( span ) ) ) . toEqual ( [
403
426
{
404
- data : { 'otel.kind' : 'INTERNAL' } ,
427
+ data : {
428
+ 'otel.kind' : 'INTERNAL' ,
429
+ 'sentry.origin' : 'manual' ,
430
+ } ,
405
431
description : 'inner span 1' ,
406
432
origin : 'manual' ,
407
433
parent_span_id : expect . any ( String ) ,
@@ -412,7 +438,10 @@ describe('Integration | Transactions', () => {
412
438
trace_id : traceId ,
413
439
} ,
414
440
{
415
- data : { 'otel.kind' : 'INTERNAL' } ,
441
+ data : {
442
+ 'otel.kind' : 'INTERNAL' ,
443
+ 'sentry.origin' : 'manual' ,
444
+ } ,
416
445
description : 'inner span 2' ,
417
446
origin : 'manual' ,
418
447
parent_span_id : expect . any ( String ) ,
0 commit comments