@grafana/faro-web-tracing
Version:
Faro web tracing implementation.
10 lines (9 loc) • 450 B
TypeScript
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>;
}