UNPKG

@opentelemetry/instrumentation-generic-pool

Version:

OpenTelemetry instrumentation for `generic-pool` resource pool for managing expensive resources

10 lines 477 B
import { InstrumentationBase, InstrumentationConfig, InstrumentationNodeModuleDefinition } from '@opentelemetry/instrumentation'; export declare class GenericPoolInstrumentation extends InstrumentationBase { private _isDisabled; constructor(config?: InstrumentationConfig); init(): InstrumentationNodeModuleDefinition[]; private _acquirePatcher; private _poolWrapper; private _acquireWithCallbacksPatcher; } //# sourceMappingURL=instrumentation.d.ts.map