import type { ExceptionEvent, MeasurementEvent, TransportItem } from '@grafana/faro-core'; export interface OtlpTransportRequestOptions extends Omit { /** * Headers to include in every request. * Each value can be: * - a string (static value) * - a function returning a string (dynamic value) */ headers?: Record string)>; } export interface OtlpHttpTransportOptions { apiKey?: string; bufferSize?: number; concurrency?: number; defaultRateLimitBackoffMs?: number; requestOptions?: OtlpTransportRequestOptions; readonly tracesURL?: string; readonly logsURL?: string; otlpTransform?: { createErrorLogBody?: (item: TransportItem) => string; createMeasurementLogBody?: (item: TransportItem) => string; }; }