code: protected List<Metric> serializeSnapshot(String name, Snapshot snapshot) {
      return Lists.newArrayList(
        serializeValue(name, snapshot.getMean(), Measurements.MEAN.name()),
        serializeValue(name, snapshot.getMin(), Measurements.MIN.name()),
        serializeValue(name, snapshot.getMax(), Measurements.MAX.name()),
        serializeValue(name, snapshot.getMedian(), Measurements.MEDIAN.name()),
        serializeValue(name, snapshot.get75thPercentile(), Measurements.PERCENTILE_75TH.name()),
        serializeValue(name, snapshot.get95thPercentile(), Measurements.PERCENTILE_95TH.name()),
        serializeValue(name, snapshot.get99thPercentile(), Measurements.PERCENTILE_99TH.name()),
        serializeValue(name, snapshot.get999thPercentile(), Measurements.PERCENTILE_999TH.name())
      );
    }
docs: Extracts metrics from {@link com.codahale.metrics.Snapshot}.
  
  @param name name of the {@link com.codahale.metrics.Snapshot}.
  @param snapshot instance of {@link com.codahale.metrics.Snapshot} to serialize.
  @return a list of {@link org.apache.gobblin.metrics.Metric}.