diff options
author | Ivan Topolnjak <ivantopo@gmail.com> | 2014-06-19 00:47:36 -0300 |
---|---|---|
committer | Ivan Topolnjak <ivantopo@gmail.com> | 2014-06-19 00:50:27 -0300 |
commit | e4552121e07d48afb4f27859d7edde72c1e3a217 (patch) | |
tree | 5e9b2afe4138fdfa9f9a9fe380e930814dad3fcc /kamon-core | |
parent | 1150d528eb5231993e542c086e2df90cf760d8a7 (diff) | |
download | Kamon-e4552121e07d48afb4f27859d7edde72c1e3a217.tar.gz Kamon-e4552121e07d48afb4f27859d7edde72c1e3a217.tar.bz2 Kamon-e4552121e07d48afb4f27859d7edde72c1e3a217.zip |
= core,datadog: make code compile again
Diffstat (limited to 'kamon-core')
-rw-r--r-- | kamon-core/src/main/scala/kamon/metrics/MetricsExtension.scala | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/kamon-core/src/main/scala/kamon/metrics/MetricsExtension.scala b/kamon-core/src/main/scala/kamon/metrics/MetricsExtension.scala index c60babb2..88475dea 100644 --- a/kamon-core/src/main/scala/kamon/metrics/MetricsExtension.scala +++ b/kamon-core/src/main/scala/kamon/metrics/MetricsExtension.scala @@ -34,7 +34,7 @@ class MetricsExtension(system: ExtendedActorSystem) extends Kamon.Extension { val gaugeRecordingsDispatcher = system.dispatchers.lookup(metricsExtConfig.getString("dispatchers.gauge-recordings")) /** Configuration Settings */ - val gaugeRecordingInterval = metricsExtConfig.getDuration("gauge-recording-interval", TimeUnit.MILLISECONDS) + val gaugeRecordingInterval: Long = metricsExtConfig.getMilliseconds("gauge-recording-interval") val storage = TrieMap[MetricGroupIdentity, MetricGroupRecorder]() val filters = loadFilters(metricsExtConfig) |