- 
          
- 
                Notifications
    You must be signed in to change notification settings 
- Fork 1.7k
Closed
Labels
BugPackage: nestjsIssues related to the Sentry Nestjs SDKIssues related to the Sentry Nestjs SDKSync: Jiraapply to auto-create a Jira shadow ticketapply to auto-create a Jira shadow ticket
Description
Is there an existing issue for this?
- I have checked for existing issues https://github.com/getsentry/sentry-javascript/issues
- I have reviewed the documentation https://docs.sentry.io/
- I am using the latest SDK release https://github.com/getsentry/sentry-javascript/releases
How do you use Sentry?
Sentry Saas (sentry.io)
Which SDK are you using?
@sentry/nestjs
SDK Version
9.0.1
Framework Version
Nestjs 9
Link to Sentry event
No response
Reproduction Example/SDK Setup
import * as Sentry from '@sentry/nestjs';
import { nodeProfilingIntegration } from '@sentry/profiling-node';
// Ensure to call this before importing any other modules!
Sentry.init({
  dsn: process.env.SENTRY_DSN,
  integrations: [
    // Add our Profiling integration
    nodeProfilingIntegration(),
  ],
  // Add Tracing by setting tracesSampleRate
  // We recommend adjusting this value in production
  tracesSampleRate: 1.0,
  // Set sampling rate for profiling
  // This is relative to tracesSampleRate
  profilesSampleRate: 1.0,
});
Steps to Reproduce
Installed the latest version of @sentry/nestjs
Expected Result
Fails after Building
Actual Result
  Cannot find module '@opentelemetry/semantic-conventions/incubating' from '../../node_modules/@opentelemetry/instrumentation-pg/build/src/utils.js'
    Require stack:
      /node_modules/@opentelemetry/instrumentation-pg/build/src/utils.js
      /node_modules/@opentelemetry/instrumentation-pg/build/src/instrumentation.js
      /node_modules/@opentelemetry/instrumentation-pg/build/src/index.js
      /node_modules/@sentry/node/build/cjs/integrations/tracing/postgres.js
      /node_modules/@sentry/node/build/cjs/index.js
      /node_modules/@sentry/nestjs/build/cjs/index.js
      
      at Resolver.resolveModule (../../node_modules/jest-resolve/build/resolver.js:324:11)
      at Object.<anonymous> (../../node_modules/@opentelemetry/instrumentation-pg/src/utils.ts:40:1)
jorgegonzalez and tarkowr
Metadata
Metadata
Assignees
Labels
BugPackage: nestjsIssues related to the Sentry Nestjs SDKIssues related to the Sentry Nestjs SDKSync: Jiraapply to auto-create a Jira shadow ticketapply to auto-create a Jira shadow ticket
Projects
Status
Waiting for: Product Owner