public <T> Gauge<T> newGauge(String name, Supplier<T> supplier) {
    return metricsRegistry.newGauge(groupName, new SupplierGauge(getMetricFullName(name), supplier));
  }
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