@opentelemetry/instrumentation-mysql2
Version:
OpenTelemetry instrumentation for `mysql2` database client for MySQL
12 lines • 593 B
TypeScript
import { InstrumentationBase, InstrumentationNodeModuleDefinition } from '@opentelemetry/instrumentation';
import { MySQL2InstrumentationConfig } from './types';
export declare class MySQL2Instrumentation extends InstrumentationBase<MySQL2InstrumentationConfig> {
private _netSemconvStability;
private _dbSemconvStability;
constructor(config?: MySQL2InstrumentationConfig);
private _setSemconvStabilityFromEnv;
protected init(): InstrumentationNodeModuleDefinition[];
private _patchQuery;
private _patchCallbackQuery;
}
//# sourceMappingURL=instrumentation.d.ts.map