Record processing metrics.