diff options
author | Diego <diegolparra@gmail.com> | 2014-12-17 14:19:23 -0300 |
---|---|---|
committer | Diego <diegolparra@gmail.com> | 2014-12-17 14:19:23 -0300 |
commit | ef0efc23b3b408a11fb52c77366bcd10ba66327a (patch) | |
tree | 4ad97f5de827b108eff3aa1d6e6c2ef961a65ae2 /kamon-core/src/main/resources | |
parent | 049b2822c569b4ea0b0c4c073631bdc0a340264d (diff) | |
download | Kamon-ef0efc23b3b408a11fb52c77366bcd10ba66327a.tar.gz Kamon-ef0efc23b3b408a11fb52c77366bcd10ba66327a.tar.bz2 Kamon-ef0efc23b3b408a11fb52c77366bcd10ba66327a.zip |
= core: avoid unnecesary allocation when askPatternTimeoutWarning is off
Diffstat (limited to 'kamon-core/src/main/resources')
-rw-r--r-- | kamon-core/src/main/resources/reference.conf | 9 |
1 files changed, 7 insertions, 2 deletions
diff --git a/kamon-core/src/main/resources/reference.conf b/kamon-core/src/main/resources/reference.conf index df5534a4..da09f500 100644 --- a/kamon-core/src/main/resources/reference.conf +++ b/kamon-core/src/main/resources/reference.conf @@ -172,13 +172,18 @@ kamon { max-incubation-time = 20 seconds } - # If ask-pattern-tracing is enabled, a WARN level log message will be generated if a future generated by the `ask` + # Default dispatcher for all trace operations + dispatcher = ${kamon.default-dispatcher} + } + + akka { + # If ask-pattern-timeout-warning 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 information depending of the strategy selected. # strategies: # - off: nothing to do. # - lightweight: logs the warning when a timeout is reached using org.aspectj.lang.reflect.SourceLocation. # - heavyweight: logs the warning when a timeout is reached using a stack trace captured at the moment the future was created. - ask-pattern-tracing = off + ask-pattern-timeout-warning = off # Default dispatcher for all trace operations dispatcher = ${kamon.default-dispatcher} |