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 | 2f0bf70826cfde49e980d362179717314290b6f1 (patch) | |
tree | 90a745be5562add855f5506bb9a96fed3e31a75e /kamon-core/src/main/scala/kamon/metrics/MetricsExtension.scala | |
parent | b18d05149881e9eb141f9f4878916f37c5b52247 (diff) | |
download | Kamon-2f0bf70826cfde49e980d362179717314290b6f1.tar.gz Kamon-2f0bf70826cfde49e980d362179717314290b6f1.tar.bz2 Kamon-2f0bf70826cfde49e980d362179717314290b6f1.zip |
+ core: allow dispatcher configuration to core components
Diffstat (limited to 'kamon-core/src/main/scala/kamon/metrics/MetricsExtension.scala')
-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 { |