public void putResource(String componentName, Resource resource) {
      Set<Resource> resourceSet = resources.get(componentName);
      if (resourceSet == null) {
        resourceSet = new HashSet<>();
        resources.put(componentName, resourceSet);
      }
      resourceSet.add(resource);
    }
The information required to make a single call to the Metrics service.
ambari-server/src/main/java/org/apache/ambari/server/controller/metrics/timeline/AMSPropertyProvider.java