UNPKG

@opentelemetry/instrumentation-mysql

Version:
22 lines 897 B
import { InstrumentationBase, InstrumentationNodeModuleDefinition } from '@opentelemetry/instrumentation'; import { MySQLInstrumentationConfig } from './types'; export declare class MySQLInstrumentation extends InstrumentationBase<MySQLInstrumentationConfig> { static readonly COMMON_ATTRIBUTES: { "db.system": string; }; private _connectionsUsage; constructor(config?: MySQLInstrumentationConfig); protected _updateMetricInstruments(): void; protected init(): InstrumentationNodeModuleDefinition[]; private _patchCreateConnection; private _patchCreatePool; private _patchPoolEnd; private _patchCreatePoolCluster; private _patchAdd; private _patchGetConnection; private _getConnectionCallbackPatchFn; private _patchQuery; private _patchCallbackQuery; private _setPoolcallbacks; } //# sourceMappingURL=instrumentation.d.ts.map