Http
Capture spans & breadcrumbs for http requests. (default)
This integration only works inside server environments (Node.js, Bun, Deno).
Import name: Sentry.httpIntegration
This integration is enabled by default. If you'd like to modify your default integrations, read this.
The httpIntegration does two things:
- It captures breadcrumbs for HTTP requests.
- It captures spans for outgoing HTTP 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.
Type: (url: string) => boolean
Allows you to define a method to filter out incoming 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").
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").