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