@Test
public void testReportGauges() throws Exception {

	influxDbReporter.reportMetrics(
			metricNameMap(name("cpu_usage").type("user").tag("core", "1").build(), gauge(3)),
			metricNameMap(Counter.class),
			metricNameMap(Histogram.class),
			metricNameMap(Meter.class),
			metricNameMap(Timer.class));
	verify(httpClient).send(eq("POST"), eq("http://localhost:8086/write?precision=ms&db=stm"),
			eq(singletonList(format("cpu_usage,core=1,type=user,app=test value=3 %d", timestamp))));
}