Skip to content

Latest commit

 

History

History
80 lines (72 loc) · 9.37 KB

File metadata and controls

80 lines (72 loc) · 9.37 KB

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.init in sentry.client.config.js
  • For the Node.js runtime integrations, add integrations to Sentry.init in sentry.server.config.js

Common Integrations

Auto Enabled Errors Tracing Additional Context
dedupeIntegration
functionToStringIntegration
inboundFiltersIntegration
linkedErrorsIntegration
captureConsoleIntegration
debugIntegration
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

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
childProcessIntegration
dataloaderIntegration
prismaIntegration
anrIntegration
extraErrorDataIntegration
fsIntegration
knexIntegration
localVariablesIntegration
nodeProfilingIntegration
trpcMiddleware