Context | Sentry for Next.js
Source URL: https://docs.sentry.io/platforms/javascript/guides/nextjs/configuration/integrations/nodecontext
Context | Sentry for Next.js
Section titled “Context | Sentry for Next.js”This integration only works in the Node.js runtime.
Import name: Sentry.nodeContextIntegration
This integration is enabled by default. If you’d like to modify your default integrations, read this.
The nodeContextIntegration captures context about the environment and the device that the SDK is running on, and attaches this information to events.
Sentry.init({ integrations: [Sentry.nodeContextIntegration()],});Type: boolean
If set to false, no app context will be captured.
Type: boolean
If set to false, no OS context will be captured.
Type: boolean | { cpu?: boolean; memory?: boolean; }
If set to false, no device context will be captured.
Type: boolean
If set to false, no culture context will be captured.
Type: boolean
If set to false, no cloud resource context will be captured.