Added check to metric_track to ignore non-numeric values