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