@@ -12,9 +12,7 @@ test('Sends an API route transaction to OTLP', async ({ baseURL }) => {
|
12 | 12 |
|
13 | 13 | const scopeSpans = json.resourceSpans?.[0]?.scopeSpans;
|
14 | 14 |
|
15 |
| -const httpScope = scopeSpans?.find( |
16 |
| -scopeSpan => scopeSpan.scope.name === '@opentelemetry_sentry-ed/instrumentation-http', |
17 |
| -); |
| 15 | +const httpScope = scopeSpans?.find(scopeSpan => scopeSpan.scope.name === '@opentelemetry/instrumentation-http'); |
18 | 16 |
|
19 | 17 | return (
|
20 | 18 | httpScope &&
|
@@ -40,9 +38,7 @@ test('Sends an API route transaction to OTLP', async ({ baseURL }) => {
|
40 | 38 | // But our default node-fetch spans are not emitted
|
41 | 39 | expect(scopeSpans.length).toEqual(2);
|
42 | 40 |
|
43 |
| -const httpScopes = scopeSpans?.filter( |
44 |
| -scopeSpan => scopeSpan.scope.name === '@opentelemetry_sentry-ed/instrumentation-http', |
45 |
| -); |
| 41 | +const httpScopes = scopeSpans?.filter(scopeSpan => scopeSpan.scope.name === '@opentelemetry/instrumentation-http'); |
46 | 42 | const undiciScopes = scopeSpans?.filter(
|
47 | 43 | scopeSpan => scopeSpan.scope.name === '@opentelemetry/instrumentation-undici',
|
48 | 44 | );
|
@@ -114,7 +110,6 @@ test('Sends an API route transaction to OTLP', async ({ baseURL }) => {
|
114 | 110 | { key: 'net.peer.port', value: { intValue: expect.any(Number) } },
|
115 | 111 | { key: 'http.status_code', value: { intValue: 200 } },
|
116 | 112 | { key: 'http.status_text', value: { stringValue: 'OK' } },
|
117 |
| -{ key: 'sentry.origin', value: { stringValue: 'auto.http.otel.http' } }, |
118 | 113 | ]),
|
119 | 114 | droppedAttributesCount: 0,
|
120 | 115 | events: [],
|
|
0 commit comments