Files
tasq/node_modules/@opentelemetry/instrumentation-redis/build/src/instrumentation.d.ts
T
2026-04-09 19:01:53 +08:00

16 lines
731 B
TypeScript

import { InstrumentationBase, InstrumentationNodeModuleDefinition } from '@opentelemetry/instrumentation';
import { RedisInstrumentationConfig } from './types';
export declare class RedisInstrumentation extends InstrumentationBase {
static readonly COMPONENT = "redis";
protected _config: RedisInstrumentationConfig;
constructor(config?: RedisInstrumentationConfig);
setConfig(config?: RedisInstrumentationConfig): void;
protected init(): InstrumentationNodeModuleDefinition[];
/**
* Patch internal_send_command(...) to trace requests
*/
private _getPatchInternalSendCommand;
private _getPatchCreateClient;
private _getPatchCreateStream;
}
//# sourceMappingURL=instrumentation.d.ts.map