UNPKG

@splunk/otel

Version:

The Splunk distribution of OpenTelemetry Node Instrumentation provides a Node agent that automatically instruments your Node application to capture and report distributed traces to Splunk APM.

13 lines 619 B
import type { Context } from '@opentelemetry/api'; import { AsyncHooksContextManager } from '@opentelemetry/context-async-hooks'; import type { ProfilingExtension } from './types'; type ContextRecorder = Pick<ProfilingExtension, 'enterContext' | 'exitContext'>; export declare class ProfilingContextManager extends AsyncHooksContextManager { protected _enterContextOriginal: (context: Context) => void; protected _recorder: ContextRecorder; constructor(); _enterContextOverride(context: Context): void; _exitContextOverride(): void; } export {}; //# sourceMappingURL=ProfilingContextManager.d.ts.map