diff options
author | Ivan Topolnjak <ivantopo@gmail.com> | 2014-12-04 03:20:41 +0100 |
---|---|---|
committer | Ivan Topolnjak <ivantopo@gmail.com> | 2014-12-04 03:20:41 +0100 |
commit | 0858ddfc94853e603975712c16f6945c01288f9a (patch) | |
tree | 277f96a67593d6d6a55e9e5c3e5fb7cdca90778a /kamon-core/src/main/resources | |
parent | b0077e7f5571a0055b36ddd25e9440163083eb32 (diff) | |
download | Kamon-0858ddfc94853e603975712c16f6945c01288f9a.tar.gz Kamon-0858ddfc94853e603975712c16f6945c01288f9a.tar.bz2 Kamon-0858ddfc94853e603975712c16f6945c01288f9a.zip |
+ core: cleanup the simple trace implementation
Diffstat (limited to 'kamon-core/src/main/resources')
-rw-r--r-- | kamon-core/src/main/resources/reference.conf | 15 |
1 files changed, 15 insertions, 0 deletions
diff --git a/kamon-core/src/main/resources/reference.conf b/kamon-core/src/main/resources/reference.conf index 78d0900e..7c4b4ecb 100644 --- a/kamon-core/src/main/resources/reference.conf +++ b/kamon-core/src/main/resources/reference.conf @@ -156,6 +156,21 @@ kamon { threshold = 1 second } + incubator { + # Minimum time to stay in the trace incubator before checking if the trace should not be incubated anymore. No + # checks are made at least until this period has passed. + min-incubation-time = 5 seconds + + # Time to wait between incubation checks. After min-incubation-time, a trace is checked using this interval and if + # if shouldn't be incubated anymore, the TraceInfo is collected and reported for it. + check-interval = 1 second + + # Max amount of time that a trace can be in the incubator. If this time is reached for a given trace then it will + # be reported with whatever information is available at the moment, logging a warning for each segment that remains + # open after this point. + 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` # pattern fails with a `AskTimeoutException` and the log message will contain a stack trace captured at the moment # the future was created. |