Connect
为 Connect 添加性能仪器化。 (默认)
有关设置 Sentry Connect 支持的更多信息,请参阅 Connect Sentry 文档。
此集成仅在 Node.js 和 Bun 运行时中工作。
Import name: Sentry.connectIntegration
此集成在启用性能监控时默认启用。如果你希望修改默认集成,请阅读 此内容。
connectIntegration
为 Hapi 框架添加仪器化,使用 @opentelemetry/instrumentation-connect
捕获跨度。
Copied
Sentry.init({
integrations: [new Sentry.connectIntegration()],
});
connect
:^3.0.0