pub fn normalize_chunk(
chunk: &mut TraceChunk,
root_span_index: usize,
) -> Result<()>Expand description
normalize_chunk takes a trace chunk and
- populates origin field if it wasn’t populated
- populates priority field if it wasn’t populated the root span is used to populate these fields, and it’s index in TraceChunk spans vec must be passed.