docs: @Override
      public <T extends Metric> T register(String name, T metric) throws IllegalArgumentException {
          // For MP Metrics 1.0, MetricType.from(Class in) does not support lambdas or proxy classes
          return register(name, metric, new Metadata(name, from(metric)));
      }