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

16 lines
729 B
TypeScript

import { InstrumentationBase, InstrumentationNodeModuleDefinition } from '@opentelemetry/instrumentation';
import { DataloaderInstrumentationConfig } from './types';
export declare class DataloaderInstrumentation extends InstrumentationBase {
constructor(config?: DataloaderInstrumentationConfig);
protected init(): InstrumentationNodeModuleDefinition[];
getConfig(): DataloaderInstrumentationConfig;
setConfig(config?: DataloaderInstrumentationConfig): void;
private shouldCreateSpans;
private getSpanName;
private _getPatchedConstructor;
private _patchLoad;
private _getPatchedLoad;
private _patchLoadMany;
private _getPatchedLoadMany;
}
//# sourceMappingURL=instrumentation.d.ts.map