Const
Adds Sentry tracing instrumentation for the mongoose library.
For more information, see the mongooseIntegration documentation.
mongooseIntegration
const Sentry = require('@sentry/node');Sentry.init({ integrations: [Sentry.mongooseIntegration()],}); Copy
const Sentry = require('@sentry/node');Sentry.init({ integrations: [Sentry.mongooseIntegration()],});
Adds Sentry tracing instrumentation for the mongoose library.
For more information, see the
mongooseIntegrationdocumentation.