Skip to main content

Module convert

Module convert 

Source
Expand description

Protobuf-to-Arrow conversion for OTel traces, metrics, and logs.

Flattens the nested protobuf hierarchies into flat Arrow RecordBatch rows.

Functionsยง

logs_request_to_batch
Convert an ExportLogsServiceRequest into an Arrow RecordBatch.
metrics_request_to_batch
Convert an ExportMetricsServiceRequest into an Arrow RecordBatch.
trace_request_to_batch
Convert an ExportTraceServiceRequest into a RecordBatch, or None if empty.