Default Integrations

System integrations are integrations enabled by default that combine into the standard library or the interpreter itself. They're documented so you can see what they do and that they can be disabled if they cause issues. To disable system integrations set defaultIntegrations: false when calling init(). To override their settings, provide a new instance with your config to integrations option. For example: to change fatal error handler integrations: [new Sentry.Integrations.OnUncaughtException({ onFatalError: () => { /** your implementation */ } })].



Import name: Sentry.Integrations.InboundFilters

This integration allows developers to ignore specific errors based on the type of message, as well as deny/allow URLs from which the exception originated. Keep in mind that denyUrl and allowUrl work only for captured exceptions, not raw message events.

To configure it, use ignoreErrors, denyUrls and allowUrls SDK options directly.


Import name: Sentry.Integrations.FunctionToString

This integration allows the SDK to provide original functions and method names, even when they are wrapped by our error or breadcrumbs handlers.

Node specific


Import name: Sentry.Integrations.Console

This integration wraps the console module to treat all its calls as breadcrumbs.


Import name: Sentry.Integrations.Http

This integration wraps http and https modules to capture all network requests as breadcrumbs.


Import name: Sentry.Integrations.OnUncaughtException

This integration attaches a global uncaught exception handler. It can be modified to provide a custom shutdown function.

Available options:

  onFatalError: (firstError: Error, secondError?: Error) => void;


Import name: Sentry.Integrations.OnUnhandledRejection

This integration attaches global unhandled rejection handlers. By default, all unhandled rejections trigger a warning and log the error. You can change this behavior using the mode option, which is in line with Node's CLI options:

Available options:

  mode: 'none' | 'warn' | 'strict';


Import name: Sentry.Integrations.LinkedErrors

This integration allows you to configure linked errors. They'll be recursively read up to a specified limit and lookup will be performed by a specific key. By default, the limit sets to 5 and the key used is cause.

Available options:

  key: string;
  limit: number;
You can edit this page on GitHub.