Add metric.