15 lines
635 B
TypeScript
15 lines
635 B
TypeScript
import { InstrumentationBase, InstrumentationNodeModuleDefinition } from '@opentelemetry/instrumentation';
|
|
import { IORedisInstrumentationConfig } from './types';
|
|
export declare class IORedisInstrumentation extends InstrumentationBase {
|
|
protected _config: IORedisInstrumentationConfig;
|
|
constructor(config?: IORedisInstrumentationConfig);
|
|
init(): InstrumentationNodeModuleDefinition[];
|
|
/**
|
|
* Patch send command internal to trace requests
|
|
*/
|
|
private _patchSendCommand;
|
|
private _patchConnection;
|
|
private _traceSendCommand;
|
|
private _traceConnection;
|
|
}
|
|
//# sourceMappingURL=instrumentation.d.ts.map
|