add support empty seconds
fix total_avg_rt metrics