Running go fmt on metric.go