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
25 lines
1000 B
Plaintext
25 lines
1000 B
Plaintext
/**
|
|
* This integration will create spans for `fs` API operations, like reading and writing files.
|
|
*
|
|
* **WARNING:** This integration may add significant overhead to your application. Especially in scenarios with a lot of
|
|
* file I/O, like for example when running a framework dev server, including this integration can massively slow down
|
|
* your application.
|
|
*
|
|
* @param options Configuration for this integration.
|
|
*/
|
|
export declare const fsIntegration: (options?: {
|
|
/**
|
|
* Setting this option to `true` will include any filepath arguments from your `fs` API calls as span attributes.
|
|
*
|
|
* Defaults to `false`.
|
|
*/
|
|
recordFilePaths?: boolean;
|
|
/**
|
|
* Setting this option to `true` will include the error messages of failed `fs` API calls as a span attribute.
|
|
*
|
|
* Defaults to `false`.
|
|
*/
|
|
recordErrorMessagesAsSpanAttributes?: boolean;
|
|
} | undefined) => import("@sentry/core").Integration;
|
|
//# sourceMappingURL=fs.d.ts.map
|