Some checks failed
Build & Deploy / 🔍 Prepare (push) Successful in 20s
Build & Deploy / 🧪 QA (push) Failing after 34s
Build & Deploy / 🏗️ Build (push) Has started running
Build & Deploy / 🚀 Deploy (push) Has been cancelled
Build & Deploy / 🧪 Smoke Test (push) Has been cancelled
Build & Deploy / ⚡ Lighthouse (push) Has been cancelled
Build & Deploy / 🔔 Notify (push) Has been cancelled
25 lines
1.0 KiB
Plaintext
25 lines
1.0 KiB
Plaintext
import * as types from '../../types';
|
|
import { wrap, unwrap, massWrap, massUnwrap } from '../../shimmer';
|
|
import { InstrumentationAbstract } from '../../instrumentation';
|
|
import { InstrumentationConfig } from '../../types';
|
|
/**
|
|
* Base abstract class for instrumenting node plugins
|
|
*/
|
|
export declare abstract class InstrumentationBase<ConfigType extends InstrumentationConfig = InstrumentationConfig> extends InstrumentationAbstract<ConfigType> implements types.Instrumentation<ConfigType> {
|
|
private _modules;
|
|
private _hooks;
|
|
private _requireInTheMiddleSingleton;
|
|
private _enabled;
|
|
constructor(instrumentationName: string, instrumentationVersion: string, config: ConfigType);
|
|
protected _wrap: typeof wrap;
|
|
protected _unwrap: typeof unwrap;
|
|
protected _massWrap: typeof massWrap;
|
|
protected _massUnwrap: typeof massUnwrap;
|
|
private _warnOnPreloadedModules;
|
|
private _extractPackageVersion;
|
|
private _onRequire;
|
|
enable(): void;
|
|
disable(): void;
|
|
isEnabled(): boolean;
|
|
}
|
|
//# sourceMappingURL=instrumentation.d.ts.map |