Skip to content

Generic Pool | Sentry for Next.js

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

This integration only works in the Node.js and Bun runtimes. Requires SDK version 8.29.0 or higher.

Import name: Sentry.genericPoolIntegration

This integration is enabled by default when performance monitoring is enabled. If you’d like to modify your default integrations, read this.

The genericPoolIntegration adds instrumentation for the generic-pool library to capture spans using @opentelemetry/instrumentation-generic-pool.

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