UNPKG

636 BTypeScriptView Raw
1interface NodeFetchOptions {
2 /**
3 * Whether breadcrumbs should be recorded for requests.
4 * Defaults to true
5 */
6 breadcrumbs?: boolean;
7 /**
8 * Do not capture spans or breadcrumbs for outgoing fetch requests to URLs where the given callback returns `true`.
9 * This controls both span & breadcrumb creation - spans will be non recording if tracing is disabled.
10 */
11 ignoreOutgoingRequests?: (url: string) => boolean;
12}
13export declare const nativeNodeFetchIntegration: (options?: NodeFetchOptions | undefined) => import("@sentry/core").Integration;
14export {};
15//# sourceMappingURL=node-fetch.d.ts.map
\No newline at end of file