Knex
为 Knex 添加插装。
此集成仅在 Node.js 和 Bun 运行时中工作。需要 SDK 版本 8.38.0
或更高版本。
Import name: Sentry.knexIntegration
knexIntegration
为 knex
库添加了插装,以使用 @opentelemetry/instrumentation-knex
捕获跨度。
Copied
Sentry.init({
integrations: [new Sentry.knexIntegration()],
});
dataloader
:>=0.10.0 <4