@ogcio/o11y-sdk-node
Version:
Opentelemetry standard instrumentation SDK for NodeJS based project
9 lines (8 loc) • 369 B
TypeScript
import type { Context } from "@opentelemetry/api";
import type { ReadableSpan, Span, SpanProcessor } from "@opentelemetry/sdk-trace-base";
export declare class GeoEnrichSpanProcessor implements SpanProcessor {
forceFlush(): Promise<void>;
onStart(span: Span, parentContext: Context): void;
onEnd(_span: ReadableSpan): void;
shutdown(): Promise<void>;
}