@forklaunch/opentelemetry-instrumentation-hyper-express
Version:
OpenTelemetry instrumentation for `hyper-express` http web application framework
12 lines • 495 B
TypeScript
import { InstrumentationBase, InstrumentationNodeModuleDefinition } from "@opentelemetry/instrumentation";
export declare class HyperExpressInstrumentation extends InstrumentationBase {
private readonly HTTP_METHODS;
constructor(config?: {});
protected init(): InstrumentationNodeModuleDefinition[];
private _createTopLevelSpan;
private _wrapMiddleware;
private _wrapHandler;
private _patchUse;
private _patchRoute;
}
//# sourceMappingURL=instrumentation.d.ts.map