pub fn to_grpc_insert_requests(
table_name: String,
spans: TraceSpans,
) -> Result<(RowInsertRequests, usize)>
Expand description
Convert SpanTraces to GreptimeDB row insert requests.
Returns InsertRequests
and total number of rows to ingest