diff options
author | Diego <diegolparra@gmail.com> | 2015-03-13 00:22:31 -0300 |
---|---|---|
committer | Diego <diegolparra@gmail.com> | 2015-03-13 00:22:31 -0300 |
commit | 37bf47d4ede655df5bda73882a2c15f98b39e820 (patch) | |
tree | cf697e69d54e0ec0567fa4259b563c131bb1c185 /kamon-core/src/main/scala/kamon/metric | |
parent | 3be5eff111e543e9702e64a34155420dbc1f2e25 (diff) | |
download | Kamon-37bf47d4ede655df5bda73882a2c15f98b39e820.tar.gz Kamon-37bf47d4ede655df5bda73882a2c15f98b39e820.tar.bz2 Kamon-37bf47d4ede655df5bda73882a2c15f98b39e820.zip |
+ log-reporter: include dispatcher metrics and close #163
Diffstat (limited to 'kamon-core/src/main/scala/kamon/metric')
-rw-r--r-- | kamon-core/src/main/scala/kamon/metric/Metrics.scala | 9 |
1 files changed, 4 insertions, 5 deletions
diff --git a/kamon-core/src/main/scala/kamon/metric/Metrics.scala b/kamon-core/src/main/scala/kamon/metric/Metrics.scala index 6a976a1c..58e16bbd 100644 --- a/kamon-core/src/main/scala/kamon/metric/Metrics.scala +++ b/kamon-core/src/main/scala/kamon/metric/Metrics.scala @@ -16,16 +16,15 @@ package kamon.metric +import akka.actor._ import com.typesafe.config.Config -import kamon.metric.SubscriptionsDispatcher.{ Unsubscribe, Subscribe } +import kamon.metric.SubscriptionsDispatcher.{ Subscribe, Unsubscribe } import kamon.metric.instrument.Gauge.CurrentValueCollector import kamon.metric.instrument.Histogram.DynamicRange import kamon.metric.instrument._ +import kamon.util.LazyActorRef import scala.collection.concurrent.TrieMap -import akka.actor._ -import kamon.util.{ Supplier, LazyActorRef, TriemapAtomicGetOrElseUpdate } - import scala.concurrent.duration.FiniteDuration case class EntityRegistration[T <: EntityRecorder](entity: Entity, recorder: T) @@ -227,7 +226,7 @@ trait Metrics { } private[kamon] class MetricsImpl(config: Config) extends Metrics { - import TriemapAtomicGetOrElseUpdate.Syntax + import kamon.util.TriemapAtomicGetOrElseUpdate.Syntax private val _trackedEntities = TrieMap.empty[Entity, EntityRecorder] private val _subscriptions = new LazyActorRef |