public void addContainerModels(Map<String, ContainerModel> containerModelMap) {
    if (containerModelMap != null && !containerModelMap.isEmpty()) {
      addToMetricsMessage(GROUP_NAME_FOR_DIAGNOSTICS_MANAGER, CONTAINER_MODELS_METRIC_NAME,
          serializeContainerModelMap(containerModelMap));
    }
  }
Add a map of container models (indexed by containerID) to the message.
@param containerModelMap the container models map
samza-core/src/main/scala/org/apache/samza/diagnostics/DiagnosticsStreamMessage.java