콘텐츠로 이동

Generic Pool | Next.js용 Sentry

Source URL: https://docs.sentry.io/platforms/javascript/guides/nextjs/configuration/integrations/genericpool

이 통합은 Node.js 및 Bun 런타임에서만 동작합니다. SDK 버전 8.29.0 이상이 필요합니다.

가져오기 이름: Sentry.genericPoolIntegration

이 통합은 성능 모니터링이 활성화되어 있을 때 기본으로 활성화됩니다. 기본 통합을 수정하려면 여기를 참고하세요.

genericPoolIntegration@opentelemetry/instrumentation-generic-pool을 사용해 스팬을 캡처할 수 있도록 generic-pool 라이브러리에 계측을 추가합니다.

Sentry.init({
integrations: [Sentry.genericPoolIntegration()],
});
  • generic-pool: >=2.0.0 <4