@Test
public void testReportMeters() throws Exception {

	elasticsearchReporter.reportMetrics(
			metricNameMap(Gauge.class),
			metricNameMap(Counter.class),
			metricNameMap(Histogram.class),
			metricNameMap(name("meter").build(), meter(10)),
			metricNameMap(Timer.class));
	assertEquals(map("@timestamp", timestamp, Object.class)
					.add("name", "meter")
					.add("app", "test")
					.add("count", 10)
					.add("m15_rate", 5.0)
					.add("m1_rate", 3.0)
					.add("m5_rate", 4.0)
					.add("mean_rate", 2.0),
			asMap(out));
}