@sentry/node
Version:
Sentry Node SDK using OpenTelemetry for performance instrumentation
20 lines • 537 B
TypeScript
import { KnexInstrumentation } from '@opentelemetry/instrumentation-knex';
export declare const instrumentKnex: ((options?: unknown) => KnexInstrumentation) & {
id: string;
};
/**
* Knex integration
*
* Capture tracing data for [Knex](https://knexjs.org/).
*
* @example
* ```javascript
* import * as Sentry from '@sentry/node';
*
* Sentry.init({
* integrations: [Sentry.knexIntegration()],
* });
* ```
*/
export declare const knexIntegration: () => import("@sentry/core").Integration;
//# sourceMappingURL=knex.d.ts.map