Const
Adds Sentry tracing instrumentation for Hono.
If you also want to capture errors, you need to call setupHonoErrorHandler(app) after you set up your Hono server.
setupHonoErrorHandler(app)
For more information, see the hono documentation.
const Sentry = require('@sentry/node');Sentry.init({ integrations: [Sentry.honoIntegration()],}) Copy
const Sentry = require('@sentry/node');Sentry.init({ integrations: [Sentry.honoIntegration()],})
Adds Sentry tracing instrumentation for Hono.
If you also want to capture errors, you need to call
setupHonoErrorHandler(app)after you set up your Hono server.For more information, see the hono documentation.