Skip to content

Commit 1f5b53b

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

File tree

1 file changed

+3
-3
lines changed
  • dev-packages/e2e-tests/test-applications/node-express-esm-preload/tests

1 file changed

+3
-3
lines changed

dev-packages/e2e-tests/test-applications/node-express-esm-preload/tests/server.test.ts

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -133,7 +133,7 @@ test('Should record spans from http instrumentation', async ({ request }) => {
133133
trace_id: expect.stringMatching(/[a-f0-9]{32}/),
134134
data: expect.objectContaining({
135135
'http.flavor': '1.1',
136-
'http.host': 'example.com:80',
136+
'http.host': 'example.com',
137137
'http.method': 'GET',
138138
'http.response.status_code': 200,
139139
'http.status_code': 200,
@@ -146,7 +146,7 @@ test('Should record spans from http instrumentation', async ({ request }) => {
146146
'net.transport': 'ip_tcp',
147147
'otel.kind': 'CLIENT',
148148
'sentry.op': 'http.client',
149-
'sentry.origin': 'auto.http.otel.http',
149+
'sentry.origin': 'auto.http.client',
150150
url: 'http://example.com/',
151151
}),
152152
description: 'GET http://example.com/',
@@ -155,6 +155,6 @@ test('Should record spans from http instrumentation', async ({ request }) => {
155155
timestamp: expect.any(Number),
156156
status: 'ok',
157157
op: 'http.client',
158-
origin: 'auto.http.otel.http',
158+
origin: 'auto.http.client',
159159
});
160160
});

0 commit comments

Comments
 (0)