Const
Adds Sentry tracing instrumentation for Connect.
If you also want to capture errors, you need to call setupConnectErrorHandler(app) after you initialize your connect app.
setupConnectErrorHandler(app)
For more information, see the connect documentation.
const Sentry = require('@sentry/node');Sentry.init({ integrations: [Sentry.connectIntegration()],}) Copy
const Sentry = require('@sentry/node');Sentry.init({ integrations: [Sentry.connectIntegration()],})
Adds Sentry tracing instrumentation for Connect.
If you also want to capture errors, you need to call
setupConnectErrorHandler(app)after you initialize your connect app.For more information, see the connect documentation.