fn operations_from_records( records: HttpRecordsOutput, contain_span_kind: bool, ) -> Result<Vec<Operation>>