@pw-tech/instrumentation-hyper-express
Version:
OpenTelemetry hyper-express automatic instrumentation package
14 lines • 669 B
TypeScript
import { InstrumentationBase, InstrumentationNodeModuleDefinition } from '@opentelemetry/instrumentation';
import type { HyperExpressInstrumentationConfig } from './types';
export declare class HyperExpressInstrumentation extends InstrumentationBase {
constructor(config?: HyperExpressInstrumentationConfig);
private _moduleVersion?;
private _isDisabled;
setConfig(config?: HyperExpressInstrumentationConfig): void;
getConfig(): HyperExpressInstrumentationConfig;
init(): InstrumentationNodeModuleDefinition;
private _middlewarePatcher;
private _methodPatcher;
private _handlerPatcher;
}
//# sourceMappingURL=instrumentation.d.ts.map