@Test
public void testReportStringGauge() throws Exception {

	elasticsearchReporter.reportMetrics(
			metricNameMap(name("gauge").build(), gauge("foo")),
			metricNameMap(Counter.class),
			metricNameMap(Histogram.class),
			metricNameMap(Meter.class),
			metricNameMap(Timer.class));
	assertEquals(
			objectMap("@timestamp", timestamp)
					.add("name", "gauge")
					.add("app", "test")
					.add("value_string", "foo"),
			asMap(out));
}