Set globalMetrics when no error