pankaj

change units to microseconds

...@@ -78,11 +78,11 @@ public final class MetricsManager implements MetricsService { ...@@ -78,11 +78,11 @@ public final class MetricsManager implements MetricsService {
78 // this.reporter = Slf4jReporter.forRegistry(this.metricsRegistry) 78 // this.reporter = Slf4jReporter.forRegistry(this.metricsRegistry)
79 // .outputTo(log) 79 // .outputTo(log)
80 // .convertRatesTo(TimeUnit.SECONDS) 80 // .convertRatesTo(TimeUnit.SECONDS)
81 -// .convertDurationsTo(TimeUnit.NANOSECONDS) 81 +// .convertDurationsTo(TimeUnit.MICROSECONDS)
82 // .build(); 82 // .build();
83 this.reporter = ConsoleReporter.forRegistry(this.metricsRegistry) 83 this.reporter = ConsoleReporter.forRegistry(this.metricsRegistry)
84 .convertRatesTo(TimeUnit.SECONDS) 84 .convertRatesTo(TimeUnit.SECONDS)
85 - .convertDurationsTo(TimeUnit.NANOSECONDS) 85 + .convertDurationsTo(TimeUnit.MICROSECONDS)
86 .build(); 86 .build();
87 } 87 }
88 88
......