Skip to content

Commit 1705573

Browse files
committed
fix test origins
1 parent 6a145ca commit 1705573

File tree

6 files changed

+12
-12
lines changed

6 files changed

+12
-12
lines changed

dev-packages/e2e-tests/test-applications/node-core-express-otel-v1-custom-sampler/tests/sampling.test.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ test('Sends a sampled API route transaction', async ({ baseURL }) => {
1616
data: {
1717
'sentry.source': 'url',
1818
'sentry.op': 'http.server',
19-
'sentry.origin': 'manual',
19+
'sentry.origin': 'auto.http.otel.http',
2020
url: 'http://localhost:3030/task',
2121
'otel.kind': 'SERVER',
2222
'http.response.status_code': 200,
@@ -36,7 +36,7 @@ test('Sends a sampled API route transaction', async ({ baseURL }) => {
3636
'http.status_code': 200,
3737
'http.status_text': 'OK',
3838
},
39-
origin: 'manual',
39+
origin: 'auto.http.otel.http',
4040
op: 'http.server',
4141
status: 'ok',
4242
});

dev-packages/e2e-tests/test-applications/node-core-express-otel-v1-sdk-node/tests/transactions.test.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@ test('Sends an API route transaction', async ({ baseURL }) => {
2828
expect(transactionEvent.contexts?.trace).toEqual({
2929
data: {
3030
'sentry.source': 'url',
31-
'sentry.origin': 'manual',
31+
'sentry.origin': 'auto.http.otel.http',
3232
'sentry.op': 'http.server',
3333
'sentry.sample_rate': 1,
3434
url: 'http://localhost:3030/test-transaction',
@@ -54,7 +54,7 @@ test('Sends an API route transaction', async ({ baseURL }) => {
5454
span_id: expect.stringMatching(/[a-f0-9]{16}/),
5555
status: 'ok',
5656
trace_id: expect.stringMatching(/[a-f0-9]{32}/),
57-
origin: 'manual',
57+
origin: 'auto.http.otel.http',
5858
});
5959

6060
expect(transactionEvent).toEqual(

dev-packages/e2e-tests/test-applications/node-core-express-otel-v1/tests/transactions.test.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ test('Sends an API route transaction', async ({ baseURL }) => {
1616
expect(transactionEvent.contexts?.trace).toEqual({
1717
data: {
1818
'sentry.source': 'url',
19-
'sentry.origin': 'manual',
19+
'sentry.origin': 'auto.http.otel.http',
2020
'sentry.op': 'http.server',
2121
'sentry.sample_rate': 1,
2222
url: 'http://localhost:3030/test-transaction',
@@ -42,7 +42,7 @@ test('Sends an API route transaction', async ({ baseURL }) => {
4242
span_id: expect.stringMatching(/[a-f0-9]{16}/),
4343
status: 'ok',
4444
trace_id: expect.stringMatching(/[a-f0-9]{32}/),
45-
origin: 'manual',
45+
origin: 'auto.http.otel.http',
4646
});
4747

4848
expect(transactionEvent.contexts?.response).toEqual({

dev-packages/e2e-tests/test-applications/node-core-express-otel-v2-custom-sampler/tests/sampling.test.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ test('Sends a sampled API route transaction', async ({ baseURL }) => {
1616
data: {
1717
'sentry.source': 'url',
1818
'sentry.op': 'http.server',
19-
'sentry.origin': 'manual',
19+
'sentry.origin': 'auto.http.otel.http',
2020
url: 'http://localhost:3030/task',
2121
'otel.kind': 'SERVER',
2222
'http.response.status_code': 200,
@@ -36,7 +36,7 @@ test('Sends a sampled API route transaction', async ({ baseURL }) => {
3636
'http.status_code': 200,
3737
'http.status_text': 'OK',
3838
},
39-
origin: 'manual',
39+
origin: 'auto.http.otel.http',
4040
op: 'http.server',
4141
status: 'ok',
4242
});

dev-packages/e2e-tests/test-applications/node-core-express-otel-v2-sdk-node/tests/transactions.test.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@ test('Sends an API route transaction', async ({ baseURL }) => {
2828
expect(transactionEvent.contexts?.trace).toEqual({
2929
data: {
3030
'sentry.source': 'url',
31-
'sentry.origin': 'manual',
31+
'sentry.origin': 'auto.http.otel.http',
3232
'sentry.op': 'http.server',
3333
'sentry.sample_rate': 1,
3434
url: 'http://localhost:3030/test-transaction',
@@ -54,7 +54,7 @@ test('Sends an API route transaction', async ({ baseURL }) => {
5454
span_id: expect.stringMatching(/[a-f0-9]{16}/),
5555
status: 'ok',
5656
trace_id: expect.stringMatching(/[a-f0-9]{32}/),
57-
origin: 'manual',
57+
origin: 'auto.http.otel.http',
5858
});
5959

6060
expect(transactionEvent).toEqual(

dev-packages/e2e-tests/test-applications/node-core-express-otel-v2/tests/transactions.test.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ test('Sends an API route transaction', async ({ baseURL }) => {
1616
expect(transactionEvent.contexts?.trace).toEqual({
1717
data: {
1818
'sentry.source': 'url',
19-
'sentry.origin': 'manual',
19+
'sentry.origin': 'auto.http.otel.http',
2020
'sentry.op': 'http.server',
2121
'sentry.sample_rate': 1,
2222
url: 'http://localhost:3030/test-transaction',
@@ -42,7 +42,7 @@ test('Sends an API route transaction', async ({ baseURL }) => {
4242
span_id: expect.stringMatching(/[a-f0-9]{16}/),
4343
status: 'ok',
4444
trace_id: expect.stringMatching(/[a-f0-9]{32}/),
45-
origin: 'manual',
45+
origin: 'auto.http.otel.http',
4646
});
4747

4848
expect(transactionEvent.contexts?.response).toEqual({

0 commit comments

Comments
 (0)