docs: public <T> Gauge<T> register(
        final String component, final String methodName, final Gauge<T> gauge) {
      registry.register(
          MetricRegistry.name(component, methodName),
          new Gauge<T>() {
            @Override
            public T getValue() {
              return gauge.getValue();
            }
          });
  
      return gauge;
    }