pankaj

Report for nanosecond latencies

...@@ -77,7 +77,7 @@ public final class MetricsManager implements MetricsService { ...@@ -77,7 +77,7 @@ public final class MetricsManager implements MetricsService {
77 this.reporter = Slf4jReporter.forRegistry(this.metricsRegistry) 77 this.reporter = Slf4jReporter.forRegistry(this.metricsRegistry)
78 .outputTo(log) 78 .outputTo(log)
79 .convertRatesTo(TimeUnit.SECONDS) 79 .convertRatesTo(TimeUnit.SECONDS)
80 - .convertDurationsTo(TimeUnit.MILLISECONDS) 80 + .convertDurationsTo(TimeUnit.NANOSECONDS)
81 .build(); 81 .build();
82 reporter.start(1, TimeUnit.MINUTES); 82 reporter.start(1, TimeUnit.MINUTES);
83 } 83 }
......