@sentry/node
Version:
Sentry Node SDK using OpenTelemetry for performance instrumentation
20 lines • 738 B
TypeScript
import { MySQL2Instrumentation } from '@opentelemetry/instrumentation-mysql2';
export declare const instrumentMysql2: ((options?: unknown) => MySQL2Instrumentation) & {
id: string;
};
/**
* Adds Sentry tracing instrumentation for the [mysql2](https://www.npmjs.com/package/mysql2) library.
*
* For more information, see the [`mysql2Integration` documentation](https://docs.sentry.io/platforms/javascript/guides/node/configuration/integrations/mysql2/).
*
* @example
* ```javascript
* const Sentry = require('@sentry/node');
*
* Sentry.init({
* integrations: [Sentry.mysqlIntegration()],
* });
* ```
*/
export declare const mysql2Integration: () => import("@sentry/core").Integration;
//# sourceMappingURL=mysql2.d.ts.map