Takaro - v0.6.0
    Preparing search index...

    Variable mongooseIntegrationConst

    mongooseIntegration: () => Integration

    Adds Sentry tracing instrumentation for the mongoose library.

    For more information, see the mongooseIntegration documentation.

    Type Declaration

      • (): Integration
      • Returns Integration

    const Sentry = require('@sentry/node');

    Sentry.init({
    integrations: [Sentry.mongooseIntegration()],
    });