public File getMetricsFile(String serviceName) {
    return metricsFileMap.get(serviceName);
  }
Obtain the metrics file.

@return metrics file
ambari-server/src/main/java/org/apache/ambari/server/stack/ServiceDirectory.java