@sentry/node
Version:
Sentry Node SDK using OpenTelemetry for performance instrumentation
10 lines (9 loc) • 440 B
TypeScript
import { Instrumentation } from '@opentelemetry/instrumentation';
/**
* Instrument an OpenTelemetry instrumentation once.
* This will skip running instrumentation again if it was already instrumented.
*/
export declare function generateInstrumentOnce<Options = unknown>(name: string, creator: (options?: Options) => Instrumentation): ((options?: Options) => void) & {
id: string;
};
//# sourceMappingURL=instrument.d.ts.map