UNPKG

647 BTypeScriptView Raw
1export declare const instrumentPostgres: ((options?: unknown) => void) & {
2 id: string;
3};
4/**
5 * Adds Sentry tracing instrumentation for the [pg](https://www.npmjs.com/package/pg) library.
6 *
7 * For more information, see the [`postgresIntegration` documentation](https://docs.sentry.io/platforms/javascript/guides/node/configuration/integrations/postgres/).
8 *
9 * @example
10 * ```javascript
11 * const Sentry = require('@sentry/node');
12 *
13 * Sentry.init({
14 * integrations: [Sentry.postgresIntegration()],
15 * });
16 * ```
17 */
18export declare const postgresIntegration: () => import("@sentry/core").Integration;
19//# sourceMappingURL=postgres.d.ts.map
\No newline at end of file