diff options
author | Ivan Topolnjak <ivantopo@gmail.com> | 2014-07-27 20:33:38 -0300 |
---|---|---|
committer | Ivan Topolnjak <ivantopo@gmail.com> | 2014-07-27 20:33:38 -0300 |
commit | 33390af40b39ca22b83e3bced83c9496f6c556ab (patch) | |
tree | dc5ed825c7c51acbd70ff2f2a4e1d13f8796a830 /kamon-core/src/main/scala/kamon/metric/TraceMetrics.scala | |
parent | dfef9dce52782fb4939556adb926d7ff531d72b3 (diff) | |
download | Kamon-33390af40b39ca22b83e3bced83c9496f6c556ab.tar.gz Kamon-33390af40b39ca22b83e3bced83c9496f6c556ab.tar.bz2 Kamon-33390af40b39ca22b83e3bced83c9496f6c556ab.zip |
= newrelic: upgrade to the latest metrics scheme, closes #54
Diffstat (limited to 'kamon-core/src/main/scala/kamon/metric/TraceMetrics.scala')
-rw-r--r-- | kamon-core/src/main/scala/kamon/metric/TraceMetrics.scala | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/kamon-core/src/main/scala/kamon/metric/TraceMetrics.scala b/kamon-core/src/main/scala/kamon/metric/TraceMetrics.scala index 187eb07d..c506fe81 100644 --- a/kamon-core/src/main/scala/kamon/metric/TraceMetrics.scala +++ b/kamon-core/src/main/scala/kamon/metric/TraceMetrics.scala @@ -69,8 +69,8 @@ object TraceMetrics extends MetricGroupCategory { val segmentConfig = settings.getConfig("segment") new TraceMetricRecorder( - Histogram.fromConfig(elapsedTimeConfig), - () ⇒ Histogram.fromConfig(segmentConfig)) + Histogram.fromConfig(elapsedTimeConfig, Scale.Nano), + () ⇒ Histogram.fromConfig(segmentConfig, Scale.Nano)) } } |