Using keepLastValue with the metric