public void addContainerNumCores(Integer containerNumCores) {
    addToMetricsMessage(GROUP_NAME_FOR_DIAGNOSTICS_MANAGER, CONTAINER_NUM_CORES_METRIC_NAME, containerNumCores);
  }
Add the container num cores parameter to the message.
@param containerNumCores the num core parameter value.
samza-core/src/main/scala/org/apache/samza/diagnostics/DiagnosticsStreamMessage.java