diff options
author | Ivan Topolnjak <ivantopo@gmail.com> | 2014-05-18 22:15:27 -0300 |
---|---|---|
committer | Ivan Topolnjak <ivantopo@gmail.com> | 2014-05-18 22:15:27 -0300 |
commit | c4b8ecb87381abe8224c247d399fd2a2bdd0372c (patch) | |
tree | 614ddbb4c5a9c4e4cc4a867964382c3f60611530 /kamon-core/src/main/scala/kamon/metrics | |
parent | ace4d9d09097aa9b7e032d5bfbe154dcf73f74ed (diff) | |
download | Kamon-c4b8ecb87381abe8224c247d399fd2a2bdd0372c.tar.gz Kamon-c4b8ecb87381abe8224c247d399fd2a2bdd0372c.tar.bz2 Kamon-c4b8ecb87381abe8224c247d399fd2a2bdd0372c.zip |
+ core: allow dispatcher configuration to core components
Diffstat (limited to 'kamon-core/src/main/scala/kamon/metrics')
-rw-r--r-- | kamon-core/src/main/scala/kamon/metrics/MetricsExtension.scala | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/kamon-core/src/main/scala/kamon/metrics/MetricsExtension.scala b/kamon-core/src/main/scala/kamon/metrics/MetricsExtension.scala index 78a82d96..c60babb2 100644 --- a/kamon-core/src/main/scala/kamon/metrics/MetricsExtension.scala +++ b/kamon-core/src/main/scala/kamon/metrics/MetricsExtension.scala @@ -19,7 +19,7 @@ package kamon.metrics import scala.collection.concurrent.TrieMap import akka.actor._ import com.typesafe.config.Config -import kamon.util.{ Contexts, GlobPathFilter } +import kamon.util.GlobPathFilter import kamon.Kamon import akka.actor import kamon.metrics.Metrics.MetricGroupFilter @@ -92,8 +92,6 @@ class MetricsExtension(system: ExtendedActorSystem) extends Kamon.Extension { allFilters.toMap } - - val defaultDispatcher = Contexts.lookupExecutionContext(Contexts.kamonDefaultDispatcher)(system) } object Metrics extends ExtensionId[MetricsExtension] with ExtensionIdProvider { |