diff options
author | Ivan Topolnjak <ivantopo@gmail.com> | 2014-05-18 21:38:55 -0300 |
---|---|---|
committer | Ivan Topolnjak <ivantopo@gmail.com> | 2014-05-18 21:38:55 -0300 |
commit | ace4d9d09097aa9b7e032d5bfbe154dcf73f74ed (patch) | |
tree | 48c18351b3ecd2b28b1c54be0906d0568559a4f8 /kamon-core/src/main/resources/reference.conf | |
parent | b0f0b611a55d27e7e1149ff028c26c19cc0d9e1c (diff) | |
download | Kamon-ace4d9d09097aa9b7e032d5bfbe154dcf73f74ed.tar.gz Kamon-ace4d9d09097aa9b7e032d5bfbe154dcf73f74ed.tar.bz2 Kamon-ace4d9d09097aa9b7e032d5bfbe154dcf73f74ed.zip |
= core: move the scheduling of gauge recordings to MetricsExtension and load interval for recordings from config
Diffstat (limited to 'kamon-core/src/main/resources/reference.conf')
-rw-r--r-- | kamon-core/src/main/resources/reference.conf | 45 |
1 files changed, 18 insertions, 27 deletions
diff --git a/kamon-core/src/main/resources/reference.conf b/kamon-core/src/main/resources/reference.conf index e5168929..b1e5309d 100644 --- a/kamon-core/src/main/resources/reference.conf +++ b/kamon-core/src/main/resources/reference.conf @@ -4,8 +4,24 @@ kamon { metrics { + + # Time interval at which Kamon will collect all metrics and send them to all subscribed actors. tick-interval = 1 second + # Time interval at which Kamon will record values for 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 the actor managing all subscriptions and metrics collection. + metric-subscriptions = "akka.actor.default-dispatcher" + } + + filters = [ { actor { @@ -56,34 +72,8 @@ kamon { } } - 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 - parallelism-min = 2 - - # Parallelism (threads) ... ceil(available processors * factor) - parallelism-factor = 2.0 - - # 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 = 100 - } - - trace { + # If ask-pattern-tracing is enabled, a WARN level log message will be generated if a future generated by the `ask` # pattern fails with a `AskTimeoutException` and the log message will contain a stack trace captured at the moment # the future was created. @@ -91,6 +81,7 @@ kamon { } weaver { + # AspectJ options supported by LTW # showWeaveInfo: show informational messages whenever the weaver touches a class file. # verbose: show informational messages about the weaving process. |