NodeFetch

Capture spans & breadcrumbs for node fetch requests. (default)

Import name: Sentry.nativeNodeFetchIntegration

This integration is enabled by default starting in v8.0.0. If you'd like to modify your default integrations, read this.

The nativeNodeFetchIntegration does two things:

  1. It captures spans for fetch requests.
  2. It captures breadcrumbs for fetch requests.

Type: boolean

If set to false, no breadcrumbs will be captured.

Type: (url: string) => boolean

Allows you to define a method to filter out outgoing requests based on the URL. If the method returns true, the request will be ignored.

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").