Have not we wanted to avoid hardcoded metric ids ? I think we can create this big string using List of Standard metrics from xml with beans.