Knex

为 Knex 添加插装。

Import name: Sentry.knexIntegration

knexIntegrationknex 库添加了插装,以使用 @opentelemetry/instrumentation-knex 捕获跨度。

Copied
Sentry.init({
  integrations: [new Sentry.knexIntegration()],
});

  • dataloader: >=0.10.0 <4