Added log so in group by items we record time for each metric.