code: public static Metric create(MetricDescriptor metricDescriptor, List<TimeSeries> timeSeriesList) {
      Utils.checkListElementNotNull(
          Utils.checkNotNull(timeSeriesList, "timeSeriesList"), "timeSeries");
      return createInternal(
          metricDescriptor, Collections.unmodifiableList(new ArrayList<TimeSeries>(timeSeriesList)));
    }
docs: Creates a {@link Metric}.
  
  @param metricDescriptor the {@link MetricDescriptor}.
  @param timeSeriesList the {@link TimeSeries} list for this metric.
  @return a {@code Metric}.
  @since 0.17