commit | 7378e556d9e62593f37232f6b4293181084345d4 | [log] [tgz] |
---|---|---|
author | pankaj <pankaj@onlab.us> | Wed Oct 08 10:29:26 2014 -0700 |
committer | pankaj <pankaj@onlab.us> | Wed Oct 08 10:29:26 2014 -0700 |
tree | 5b4230f5bc1aa2986cc2d2b47224ea00608c418f | |
parent | 9c060c09ef10e7fa0db84daf7af248d1397be1a0 [diff] |
Report for nanosecond latencies
diff --git a/utils/misc/src/main/java/org/onlab/metrics/MetricsManager.java b/utils/misc/src/main/java/org/onlab/metrics/MetricsManager.java index 7d18c62..b098513 100644 --- a/utils/misc/src/main/java/org/onlab/metrics/MetricsManager.java +++ b/utils/misc/src/main/java/org/onlab/metrics/MetricsManager.java
@@ -77,7 +77,7 @@ this.reporter = Slf4jReporter.forRegistry(this.metricsRegistry) .outputTo(log) .convertRatesTo(TimeUnit.SECONDS) - .convertDurationsTo(TimeUnit.MILLISECONDS) + .convertDurationsTo(TimeUnit.NANOSECONDS) .build(); reporter.start(1, TimeUnit.MINUTES); }