code: private SummaryMetricFamily fromHistogram(List<Map.Entry<MetricName, Histogram>> histogramsWithSameName) {
  		final SummaryMetricFamily summaryMetricFamily = getSummaryMetricFamily(histogramsWithSameName, "");
  		for (Map.Entry<MetricName, Histogram> entry : histogramsWithSameName) {
  			addSummaryMetric(summaryMetricFamily, entry.getKey(), entry.getValue().getSnapshot(), 1.0D, entry.getValue().getCount());
  		}
  		return summaryMetricFamily;
  	}
docs: Convert histogram snapshot.