UNPKG

635 BTypeScriptView Raw
1export declare const instrumentMysql: ((options?: unknown) => void) & {
2 id: string;
3};
4/**
5 * Adds Sentry tracing instrumentation for the [mysql](https://www.npmjs.com/package/mysql) library.
6 *
7 * For more information, see the [`mysqlIntegration` documentation](https://docs.sentry.io/platforms/javascript/guides/node/configuration/integrations/mysql/).
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 mysqlIntegration: () => import("@sentry/core").Integration;
19//# sourceMappingURL=mysql.d.ts.map
\No newline at end of file