Context

Capture context about the environment and the device that the client is running on, and add it to events. (default)

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.

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.

Help improve this content
Our documentation is open source and available on GitHub. Your contributions are welcome, whether fixing a typo (drat!) or suggesting an update ("yeah, this would be better").