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
20 lines
783 B
Plaintext
20 lines
783 B
Plaintext
import { DataloaderInstrumentation } from '@opentelemetry/instrumentation-dataloader';
|
|
export declare const instrumentDataloader: ((options?: unknown) => DataloaderInstrumentation) & {
|
|
id: string;
|
|
};
|
|
/**
|
|
* Adds Sentry tracing instrumentation for the [dataloader](https://www.npmjs.com/package/dataloader) library.
|
|
*
|
|
* For more information, see the [`dataloaderIntegration` documentation](https://docs.sentry.io/platforms/javascript/guides/node/configuration/integrations/dataloader/).
|
|
*
|
|
* @example
|
|
* ```javascript
|
|
* const Sentry = require('@sentry/node');
|
|
*
|
|
* Sentry.init({
|
|
* integrations: [Sentry.dataloaderIntegration()],
|
|
* });
|
|
* ```
|
|
*/
|
|
export declare const dataloaderIntegration: () => import("@sentry/core").Integration;
|
|
//# sourceMappingURL=dataloader.d.ts.map |