diff options
author | Ivan Topolnjak <ivantopo@gmail.com> | 2015-01-29 03:14:36 +0100 |
---|---|---|
committer | Ivan Topolnjak <ivantopo@gmail.com> | 2015-01-29 03:14:36 +0100 |
commit | 99c4aedeed492afb2431d57421af7dce36200c06 (patch) | |
tree | 3b0f373aff6b6f15beafca8915821b9d2819a7ea /kamon-core/src/main/resources | |
parent | 8f8749da23afc70d89ede97537ba792a0641a528 (diff) | |
download | Kamon-99c4aedeed492afb2431d57421af7dce36200c06.tar.gz Kamon-99c4aedeed492afb2431d57421af7dce36200c06.tar.bz2 Kamon-99c4aedeed492afb2431d57421af7dce36200c06.zip |
! core,akka: use our own dispatcher instead of Akka's default dispatcher.
Diffstat (limited to 'kamon-core/src/main/resources')
-rw-r--r-- | kamon-core/src/main/resources/reference.conf | 17 |
1 files changed, 6 insertions, 11 deletions
diff --git a/kamon-core/src/main/resources/reference.conf b/kamon-core/src/main/resources/reference.conf index 2bc217b0..dabeda69 100644 --- a/kamon-core/src/main/resources/reference.conf +++ b/kamon-core/src/main/resources/reference.conf @@ -86,16 +86,14 @@ kamon { dispatchers { # Dispatcher for the actor that will collect all recorded metrics on every tick and dispatch them to all subscribers. - metric-collection = akka.actor.default-dispatcher + metric-collection = kamon.default-dispatcher # Dispatcher for the Kamon refresh scheduler, used by all MinMaxCounters and Gaugues to update their values. - refresh-scheduler = akka.actor.default-dispatcher + refresh-scheduler = kamon.default-dispatcher } } - - trace { # Level of detail used when recording trace information. The posible values are: @@ -144,14 +142,16 @@ kamon { } # Default dispatcher for all trace module operations - dispatcher = "akka.actor.default-dispatcher" + dispatcher = kamon.default-dispatcher } - kamon-dispatcher { + default-dispatcher { # Dispatcher is the name of the event-based dispatcher type = Dispatcher + # What kind of ExecutionService to use executor = "fork-join-executor" + # Configuration for the fork join pool fork-join-executor { # Min number of threads to cap factor-based parallelism number to @@ -165,10 +165,5 @@ kamon { # Max number of threads to cap factor-based parallelism number to parallelism-max = 10 } - - # Throughput defines the maximum number of messages to be - # processed per actor before the thread jumps to the next actor. - # Set to 1 for as fair as possible. - throughput = 3 } }
\ No newline at end of file |