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).
| Auto Enabled | Errors | Tracing | Additional Context | |
|---|---|---|---|---|
dedupeIntegration |
✓ | ✓ | ||
functionToStringIntegration |
✓ | |||
inboundFiltersIntegration |
✓ | ✓ | ||
linkedErrorsIntegration |
✓ | ✓ | ||
captureConsoleIntegration |
✓ | |||
extraErrorDataIntegration |
✓ | |||
rewriteFramesIntegration |
✓ |
| 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 |
✓ |
| Auto Enabled | Errors | Tracing | Additional Context | |
|---|---|---|---|---|
requestDataIntegration |
✓ | ✓ |
| 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 |
✓ | ✓ | ✓ |
| Auto Enabled | Errors | Tracing | Additional Context | |
|---|---|---|---|---|
winterCGFetchIntegration |
✓ | ✓ | ✓ |