@Test
public void testReportMeters() throws Exception {

	influxDbReporter.reportMetrics(
			metricNameMap(Gauge.class),
			metricNameMap(Counter.class),
			metricNameMap(Histogram.class),
			metricNameMap(name("meter").build(), meter(10)),
			metricNameMap(Timer.class));
	verify(httpClient).send(eq("POST"), eq("http://localhost:8086/write?precision=ms&db=stm"),
			eq(singletonList(format("meter,app=test count=10i,m1_rate=3.0,m5_rate=4.0,m15_rate=5.0,mean_rate=2.0 %d", timestamp))));
}