@grafana/faro-web-tracing
Version:
Faro web tracing implementation.
11 lines (10 loc) • 438 B
TypeScript
import { type Context } from '@opentelemetry/api';
import type { ReadableSpan, Span, SpanProcessor } from '@opentelemetry/sdk-trace-web';
export declare class FaroUserActionSpanProcessor implements SpanProcessor {
private processor;
constructor(processor: SpanProcessor);
forceFlush(): Promise<void>;
onStart(span: Span, parentContext: Context): void;
onEnd(span: ReadableSpan): void;
shutdown(): Promise<void>;
}