.prefixedWith("test")
.convertRatesTo(TimeUnit.SECONDS)
.convertDurationsTo(TimeUnit.MILLISECONDS)
.filter(MetricFilter.ALL)
.build(influxdb);
reporter.start(10, TimeUnit.SECONDS);
return reporter;
}
private static ConsoleReporter startConsoleReporter(MetricRegistry registry) throws Exception {
final ConsoleReporter reporter = ConsoleReporter