UNPKG

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