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.

11 lines 483 B
import { Context } from '@opentelemetry/api'; import { ReadableSpan, Span } from '@opentelemetry/sdk-trace-base'; import { SpanProcessor } from '@opentelemetry/sdk-trace-base'; export declare class NextJsSpanProcessor implements SpanProcessor { handleRequestSpan?: Span; onStart(span: Span, _parentContext: Context): void; onEnd(span: ReadableSpan): void; forceFlush(): Promise<void>; shutdown(): Promise<void>; } //# sourceMappingURL=NextJsSpanProcessor.d.ts.map