add metric option to select which field to use