@ -32,7 +32,7 @@ public class MetricsManager {
// Start a Metrics JMX reporter
reporter = JmxReporter.forRegistry(metrics)
.convertRatesTo(TimeUnit.SECONDS.SECONDS)
.convertRatesTo(TimeUnit.SECONDS)
.convertDurationsTo(TimeUnit.MILLISECONDS)
.build();
reporter.start();
@ -151,7 +151,7 @@ public class MediaScannerServiceTestCase {
// display out metrics report
ConsoleReporter reporter = ConsoleReporter.forRegistry(metrics)
reporter.report();