WinterCGFetch

Creates spans and attaches tracing headers to fetch requests on edge runtimes. (default)

Import name: Sentry.winterCGFetchIntegration

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

The winterCGFetchIntegration creates spans and attaches tracing headers to fetch requests on the Edge runtime.

Copied
Sentry.init({
  integrations: [Sentry.winterCGFetchIntegration()],
});

Type: boolean

If set to false, no breadcrumbs will be captured.

Type: (url: string) => boolean

Allows you to define a method to determine whether or not to create spans to track outgoing requests to the given URL. By default, spans will be created for all outgoing requests.

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