Skip to content

Commit f0896c1

Browse files
committed
fix e2e tests
1 parent b6b3660 commit f0896c1

File tree

2 files changed

+2
-0
lines changed

2 files changed

+2
-0
lines changed

dev-packages/e2e-tests/test-applications/node-otel-custom-sampler/src/instrument.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -14,6 +14,7 @@ Sentry.init({
1414
skipOpenTelemetrySetup: true,
1515
// By defining _any_ sample rate, tracing integrations will be added by default
1616
tracesSampleRate: 0,
17+
integrations: [Sentry.httpIntegration({ spans: true })],
1718
});
1819

1920
const provider = new NodeTracerProvider({

dev-packages/e2e-tests/test-applications/node-otel-sdk-node/src/instrument.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -14,6 +14,7 @@ const sentryClient = Sentry.init({
1414
tracesSampleRate: 1,
1515

1616
skipOpenTelemetrySetup: true,
17+
integrations: [Sentry.httpIntegration({ spans: true })],
1718
});
1819

1920
const sdk = new opentelemetry.NodeSDK({

0 commit comments

Comments
 (0)