@grafana/faro-transport-otlp-http
Version:
Faro transport which converts the Faro data model to the Otlp data model.
8 lines (7 loc) • 339 B
TypeScript
import type { ResourceLogs, ResourceSpans } from './transform';
export interface OtelTransportPayload {
readonly resourceLogs: Readonly<ResourceLogs>;
readonly resourceSpans: Readonly<ResourceSpans>;
}
export type Logs = Pick<OtelTransportPayload, 'resourceLogs'>;
export type Traces = Pick<OtelTransportPayload, 'resourceSpans'>;