The Astro SDK initializes the SDK in two runtimes: Browser and Node.js. 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 astro runtime integrations, add integrations to
Sentry.initinsentry.client.config.js - For the Node.js runtime integrations, add integrations to
Sentry.initinsentry.server.config.js
| Auto Enabled | Errors | Tracing | Additional Context | |
|---|---|---|---|---|
dedupeIntegration |
✓ | ✓ | ||
functionToStringIntegration |
✓ | |||
inboundFiltersIntegration |
✓ | ✓ | ||
linkedErrorsIntegration |
✓ | ✓ | ||
captureConsoleIntegration |
✓ | |||
debugIntegration |
||||
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 | |
|---|---|---|---|---|
amqplibIntegration |
✓ | ✓ | ||
consoleIntegration |
✓ | ✓ | ||
contextLinesIntegration |
✓ | ✓ | ||
genericPoolIntegration |
✓ | ✓ | ||
graphqlIntegration |
✓ | ✓ | ||
httpIntegration |
✓ | ✓ | ✓ | ✓ |
kafkaIntegration |
✓ | ✓ | ||
lruMemoizerIntegration |
✓ | ✓ | ||
modulesIntegration |
✓ | ✓ | ||
mongoIntegration |
✓ | ✓ | ||
mongooseIntegration |
✓ | ✓ | ||
mysqlIntegration |
✓ | ✓ | ||
mysql2Integration |
✓ | ✓ | ||
nodeContextIntegration |
✓ | ✓ | ||
nativeNodeFetchIntegration |
✓ | ✓ | ✓ | |
onUncaughtExceptionIntegration |
✓ | ✓ | ||
onUnhandledRejectionIntegration |
✓ | ✓ | ||
postgresIntegration |
✓ | ✓ | ||
redisIntegration |
✓ | ✓ | ||
requestDataIntegration |
✓ | ✓ | ||
tediousIntegration |
✓ | ✓ | ||
childProcessIntegration |
✓ | ✓ | ||
dataloaderIntegration |
✓ | ✓ | ||
prismaIntegration |
✓ | ✓ | ||
anrIntegration |
✓ | |||
extraErrorDataIntegration |
✓ | |||
fsIntegration |
✓ | |||
knexIntegration |
✓ | |||
localVariablesIntegration |
✓ | |||
nodeProfilingIntegration |
✓ | |||
trpcMiddleware |
✓ | ✓ | ✓ |