public static void incCounter(Counter counter) {
    if (counter != null) {
      counter.inc();
    }
  }
Create a new gauge by delegating to the underlying metrics registry
@param name name of the gauge
@param supplier a function that supplies the value
@param <T> type of the value
@return newly created gauge
samza-core/src/main/java/org/apache/samza/table/utils/TableMetricsUtil.java