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