Skip to content

Commit 4e59df3

Browse files
committed
fixup! fixup! fixup! feat(http): refactor node:http client instrumentation for portability
1 parent 1f5b53b commit 4e59df3

File tree

4 files changed

+5
-5
lines changed

4 files changed

+5
-5
lines changed

dev-packages/e2e-tests/test-applications/aws-serverless/tests/layer.test.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -45,7 +45,7 @@ test.describe('Lambda layer', () => {
4545
expect.objectContaining({
4646
data: expect.objectContaining({
4747
'sentry.op': 'http.client',
48-
'sentry.origin': 'auto.http.otel.http',
48+
'sentry.origin': 'auto.http.client',
4949
url: 'http://example.com/',
5050
}),
5151
description: 'GET http://example.com/',
@@ -113,7 +113,7 @@ test.describe('Lambda layer', () => {
113113
expect.objectContaining({
114114
data: expect.objectContaining({
115115
'sentry.op': 'http.client',
116-
'sentry.origin': 'auto.http.otel.http',
116+
'sentry.origin': 'auto.http.client',
117117
url: 'http://example.com/',
118118
}),
119119
description: 'GET http://example.com/',

dev-packages/e2e-tests/test-applications/nextjs-14/tests/request-instrumentation.test.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@ test('Should send a transaction with a fetch span', async ({ page }) => {
2828
data: expect.objectContaining({
2929
'http.method': 'GET',
3030
'sentry.op': 'http.client',
31-
'sentry.origin': 'auto.http.otel.http',
31+
'sentry.origin': 'auto.http.client',
3232
}),
3333
description: 'GET https://github.com/',
3434
}),

dev-packages/e2e-tests/test-applications/nextjs-app-dir/tests/request-instrumentation.test.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ test.skip('Should send a transaction with a http span', async ({ request }) => {
1616
data: expect.objectContaining({
1717
'http.method': 'GET',
1818
'sentry.op': 'http.client',
19-
'sentry.origin': 'auto.http.otel.http',
19+
'sentry.origin': 'auto.http.client',
2020
}),
2121
description: 'GET https://example.com/',
2222
}),

dev-packages/e2e-tests/test-applications/nextjs-pages-dir/tests/request-instrumentation.test.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ test.skip('Should send a transaction with a http span', async ({ request }) => {
1616
data: expect.objectContaining({
1717
'http.method': 'GET',
1818
'sentry.op': 'http.client',
19-
'sentry.origin': 'auto.http.otel.http',
19+
'sentry.origin': 'auto.http.client',
2020
}),
2121
description: 'GET https://example.com/',
2222
}),

0 commit comments

Comments
 (0)