add spec for metric.last