trace add end_datetime