UNPKG

435 BTypeScriptView Raw
1import type { Instrumentation } from '@opentelemetry/instrumentation';
2/**
3 * Instrument an OpenTelemetry instrumentation once.
4 * This will skip running instrumentation again if it was already instrumented.
5 */
6export declare function generateInstrumentOnce<Options = unknown>(name: string, creator: (options?: Options) => Instrumentation): ((options?: Options) => void) & {
7 id: string;
8};
9//# sourceMappingURL=instrument.d.ts.map
\No newline at end of file