add the metric log