Speed up getting the metric list to populate the autocomplete