AMBARI-6070 Call to fetch metrics takes over 20 seconds (dsen)