Some checks failed
Build & Deploy / 🔍 Prepare (push) Successful in 20s
Build & Deploy / 🧪 QA (push) Failing after 34s
Build & Deploy / 🏗️ Build (push) Has started running
Build & Deploy / 🚀 Deploy (push) Has been cancelled
Build & Deploy / 🧪 Smoke Test (push) Has been cancelled
Build & Deploy / ⚡ Lighthouse (push) Has been cancelled
Build & Deploy / 🔔 Notify (push) Has been cancelled
26 lines
995 B
Plaintext
26 lines
995 B
Plaintext
import { Integration } from '@sentry/core';
|
|
export interface NativeNodeFetchIntegrationOptions {
|
|
/**
|
|
* Whether breadcrumbs should be recorded for requests.
|
|
*
|
|
* @default `true`
|
|
*/
|
|
breadcrumbs?: boolean;
|
|
/**
|
|
* Do not capture breadcrumbs or inject headers for outgoing fetch requests to URLs
|
|
* where the given callback returns `true`.
|
|
*
|
|
* @param url Contains the entire URL, including query string (if any), protocol, host, etc. of the outgoing request.
|
|
*/
|
|
ignoreOutgoingRequests?: (url: string) => boolean;
|
|
}
|
|
/**
|
|
* This integration handles outgoing fetch (undici) requests in light mode (without OpenTelemetry).
|
|
* It propagates trace headers and creates breadcrumbs for responses.
|
|
*/
|
|
export declare const nativeNodeFetchIntegration: (options?: NativeNodeFetchIntegrationOptions) => Integration & {
|
|
name: "NodeFetch";
|
|
setupOnce: () => void;
|
|
};
|
|
//# sourceMappingURL=nativeNodeFetchIntegration.d.ts.map
|