Skip to content

Latest commit

 

History

History
92 lines (80 loc) · 10.1 KB

File metadata and controls

92 lines (80 loc) · 10.1 KB

Next.js can operate within three runtimes: the Node.js.js runtime, the browser runtime, and the Edge runtime. However, it's important to note that not all integrations are compatible with all of these runtimes.

Depending on whether an integration enhances the functionality of a particular runtime, such as the BrowserTracing integration for the browser runtime or the RequestData integration for the Node.js.js runtime, you can only include these integrations in their respective configuration files:

  • For the browser runtime, add integrations to instrumentation-client.(js|ts).
  • For Node.js.js, add integrations to your Sentry setup in instrumentation.(js|ts).
  • For the Edge runtime, add integrations to your Sentry setup in instrumentation.(js|ts).

Common Integrations

Auto Enabled Errors Tracing Additional Context
dedupeIntegration
functionToStringIntegration
inboundFiltersIntegration
linkedErrorsIntegration
captureConsoleIntegration
extraErrorDataIntegration
rewriteFramesIntegration

Browser Integrations

Auto Enabled Errors Tracing Replay Additional Context
breadcrumbsIntegration
browserApiErrorsIntegration
browserSessionIntegration
browserTracingIntegration
globalHandlersIntegration
httpContextIntegration
browserProfilingIntegration
contextLinesIntegration
featureFlagsIntegration
httpClientIntegration
launchDarklyIntegration
moduleMetadataIntegration
openFeatureIntegration
replayCanvasIntegration
replayIntegration
reportingObserverIntegration
statsigIntegration
supabaseIntegration
unleashIntegration

Server (Node.js, Edge) Integrations

Auto Enabled Errors Tracing Additional Context
requestDataIntegration

Node.js Integrations

Auto Enabled Errors Tracing Additional Context
amqplibIntegration
consoleIntegration
contextLinesIntegration
genericPoolIntegration
graphqlIntegration
httpIntegration
kafkaIntegration
lruMemoizerIntegration
modulesIntegration
mongoIntegration
mongooseIntegration
mysqlIntegration
mysql2Integration
nodeContextIntegration
nativeNodeFetchIntegration
onUncaughtExceptionIntegration
onUnhandledRejectionIntegration
postgresIntegration
redisIntegration
requestDataIntegration
tediousIntegration
dataloaderIntegration
childProcessIntegration
prismaIntegration
anrIntegration
extraErrorDataIntegration
fsIntegration
knexIntegration
localVariablesIntegration
nodeProfilingIntegration
trpcMiddleware

Edge Integrations

Auto Enabled Errors Tracing Additional Context
winterCGFetchIntegration