Skip to content

Commit 36c3d10

Browse files
committed
1 parent 5310112 commit 36c3d10

File tree

2 files changed

+2
-309
lines changed

2 files changed

+2
-309
lines changed

packages/nestjs/src/integrations/nest.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,13 +1,13 @@
1+
import { NestInstrumentation as NestInstrumentationCore } from '@opentelemetry/instrumentation-nestjs-core';
12
import { defineIntegration } from '@sentry/core';
23
import { generateInstrumentOnce } from '@sentry/node';
3-
import { NestInstrumentation } from './sentry-nest-core-instrumentation';
44
import { SentryNestEventInstrumentation } from './sentry-nest-event-instrumentation';
55
import { SentryNestInstrumentation } from './sentry-nest-instrumentation';
66

77
const INTEGRATION_NAME = 'Nest';
88

99
const instrumentNestCore = generateInstrumentOnce('Nest-Core', () => {
10-
return new NestInstrumentation();
10+
return new NestInstrumentationCore();
1111
});
1212

1313
const instrumentNestCommon = generateInstrumentOnce('Nest-Common', () => {

packages/nestjs/src/integrations/sentry-nest-core-instrumentation.ts

Lines changed: 0 additions & 307 deletions
This file was deleted.

0 commit comments

Comments
 (0)