class InfluxDbReporter extends ScheduledMetrics2Reporter {

	private void reportHistograms(Map<MetricName, Histogram> histograms, long timestamp) {
		for (Map.Entry<MetricName, Histogram> entry : histograms.entrySet()) {
			final Histogram hist = entry.getValue();
			final Snapshot snapshot = hist.getSnapshot();
			reportLine(getInfluxDbLineProtocolString(entry.getKey()),
					"count=" + getIntegerValue(hist.getCount()) + ","
							+ reportHistogramSnapshot(snapshot), timestamp);
		}
	}

	private  InfluxDbReporter(Builder builder);

}