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/resources/reference.conf | |
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/resources/reference.conf')
-rw-r--r-- | kamon-core/src/main/resources/reference.conf | 18 |
1 files changed, 11 insertions, 7 deletions
diff --git a/kamon-core/src/main/resources/reference.conf b/kamon-core/src/main/resources/reference.conf index b1e5309d..9abfd26a 100644 --- a/kamon-core/src/main/resources/reference.conf +++ b/kamon-core/src/main/resources/reference.conf @@ -3,22 +3,26 @@ # ================================== # kamon { + + # Default dispatcher for all Kamon components, unless a more specific one is configured. + default-dispatcher = "akka.actor.default-dispatcher" + metrics { - # Time interval at which Kamon will collect all metrics and send them to all subscribed actors. + # Time interval for collecting all metrics and send the snapshots to all subscribed actors. tick-interval = 1 second - # Time interval at which Kamon will record values for all registered gauges. + # Time interval for recording values on all registered gauges. gauge-recording-interval = 100 milliseconds + dispatchers { - # All Gauges record values periodically according to the `kamon.metrics.gauge-recording-interval` setting. - # This dispatcher is the one to be used to execute the recording code. - gauge-recordings = "akka.actor.default-dispatcher" + # Dispatcher for periodical gauge value recordings. + gauge-recordings = ${kamon.default-dispatcher} - # Dispatcher for the actor managing all subscriptions and metrics collection. - metric-subscriptions = "akka.actor.default-dispatcher" + # Dispatcher for subscriptions and metrics collection actors. + metric-subscriptions = ${kamon.default-dispatcher} } |