UNPKG

@grafana/faro-web-tracing

Version:
10 lines (9 loc) 450 B
import type { ExportResult } from '@opentelemetry/core'; import type { ReadableSpan, SpanExporter } from '@opentelemetry/sdk-trace-web'; import type { FaroTraceExporterConfig } from './types'; export declare class FaroTraceExporter implements SpanExporter { private config; constructor(config: FaroTraceExporterConfig); export(spans: ReadableSpan[], resultCallback: (result: ExportResult) => void): void; shutdown(): Promise<void>; }