diff options
author | Ivan Topolnak <ivantopo@gmail.com> | 2013-11-04 18:11:16 -0300 |
---|---|---|
committer | Ivan Topolnak <ivantopo@gmail.com> | 2013-11-04 18:11:16 -0300 |
commit | 5127c3bb83cd6fe90e071720d995cfb53d913e6a (patch) | |
tree | a29cc7be7f729566f3a5a2fc3bc8044c7f47f3cc /kamon-metrics/src/main/scala/kamon/Metrics.scala | |
parent | ca1e93621ddad4b9f2a9028ea183b1c2f4c25a27 (diff) | |
download | Kamon-5127c3bb83cd6fe90e071720d995cfb53d913e6a.tar.gz Kamon-5127c3bb83cd6fe90e071720d995cfb53d913e6a.tar.bz2 Kamon-5127c3bb83cd6fe90e071720d995cfb53d913e6a.zip |
wip
Diffstat (limited to 'kamon-metrics/src/main/scala/kamon/Metrics.scala')
-rw-r--r-- | kamon-metrics/src/main/scala/kamon/Metrics.scala | 12 |
1 files changed, 7 insertions, 5 deletions
diff --git a/kamon-metrics/src/main/scala/kamon/Metrics.scala b/kamon-metrics/src/main/scala/kamon/Metrics.scala index 355c67c7..c3aedfd4 100644 --- a/kamon-metrics/src/main/scala/kamon/Metrics.scala +++ b/kamon-metrics/src/main/scala/kamon/Metrics.scala @@ -6,15 +6,17 @@ import akka.actor.{ActorRef, ExtendedActorSystem, ExtensionIdProvider, Extension import kamon.Kamon.Extension import akka.actor -class MetricsExtension(system: ExtendedActorSystem) extends Kamon.Extension { - def manager: ActorRef = ??? -} - object Metrics extends ExtensionId[MetricsExtension] with ExtensionIdProvider { def lookup(): ExtensionId[_ <: actor.Extension] = Metrics def createExtension(system: ExtendedActorSystem): Extension = new MetricsExtension(system) - val registry = new MetricRegistry +} +class MetricsExtension(system: ExtendedActorSystem) extends Kamon.Extension { + def manager: ActorRef = ??? } + + + + |