Filter the list of metrics based on selected hosts