aboutsummaryrefslogtreecommitdiff
path: root/kamon-core/src/main/resources/reference.conf
diff options
context:
space:
mode:
authorIvan Topolnjak <ivantopo@gmail.com>2014-05-18 22:15:27 -0300
committerIvan Topolnjak <ivantopo@gmail.com>2014-05-18 22:15:27 -0300
commitc4b8ecb87381abe8224c247d399fd2a2bdd0372c (patch)
tree614ddbb4c5a9c4e4cc4a867964382c3f60611530 /kamon-core/src/main/resources/reference.conf
parentace4d9d09097aa9b7e032d5bfbe154dcf73f74ed (diff)
downloadKamon-c4b8ecb87381abe8224c247d399fd2a2bdd0372c.tar.gz
Kamon-c4b8ecb87381abe8224c247d399fd2a2bdd0372c.tar.bz2
Kamon-c4b8ecb87381abe8224c247d399fd2a2bdd0372c.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.conf18
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}
}