Switch from String to Integer the metrics