UNPKG

@grafana/faro-web-tracing

Version:
13 lines (12 loc) 556 B
import { type Context } from '@opentelemetry/api'; import type { ReadableSpan, Span, SpanProcessor } from '@opentelemetry/sdk-trace-web'; import { type UserActionStartMessage } from '@grafana/faro-web-sdk'; export declare class FaroUserActionSpanProcessor implements SpanProcessor { private processor; message: UserActionStartMessage | undefined; constructor(processor: SpanProcessor); forceFlush(): Promise<void>; onStart(span: Span, parentContext: Context): void; onEnd(span: ReadableSpan): void; shutdown(): Promise<void>; }