# ================================== # # Kamon-Core Reference Configuration # # ================================== # kamon { # Default dispatcher for all Kamon components, unless a more specific one is configured. default-dispatcher = "akka.actor.default-dispatcher" metrics { # Time interval for collecting all metrics and send the snapshots to all subscribed actors. tick-interval = 1 second # Time interval for recording values on all registered gauges. gauge-recording-interval = 100 milliseconds # Default size for the LongBuffer that gets allocated for metrics collection and merge. The # value should correspond to the highest number of different buckets with values that might # exist in a single histogram during a metrics collection. The default value of 33792 is a # very conservative value and its equal to the total number of buckets required to cover values # from 1 nanosecond to 1 hour with 0.1% precision (3 significant value digits). That means # that would need to have at least one measurement on every bucket of a single histogram to # fully utilize this buffer, which is *really* unlikely to ever happen. Since the buffer should # be allocated once and reused it shouldn't impose a memory footprint issue. default-collection-context-buffer-size = 33792 # Disables a big error message that will be typically logged if your application wasn't started # with the -javaagent:/path-to-aspectj-weaver.jar option. If you are only using KamonStandalone # it might be ok for you to turn this error off. disable-aspectj-weaver-missing-error = false dispatchers { # Dispatcher for periodical gauge value recordings. gauge-recordings = ${kamon.default-dispatcher} # Dispatcher for subscriptions and metrics collection actors. metric-subscriptions = ${kamon.default-dispatcher} } filters = [ { actor { includes = [] excludes = [ "system/*", "user/IO-*" ] } }, { trace { includes = [ "*" ] excludes = [] } }, { dispatcher { includes = [ "default-dispatcher" ] excludes = [] } } ] precision { default-histogram-precision { highest-trackable-value = 3600000000000 significant-value-digits = 2 } default-min-max-counter-precision { refresh-interval = 100 milliseconds highest-trackable-value = 999999999 significant-value-digits = 2 } default-gauge-precision { refresh-interval = 100 milliseconds highest-trackable-value = 999999999 significant-value-digits = 2 } actor { processing-time = ${kamon.metrics.precision.default-histogram-precision} time-in-mailbox = ${kamon.metrics.precision.default-histogram-precision} mailbox-size = ${kamon.metrics.precision.default-min-max-counter-precision} } trace { elapsed-time = ${kamon.metrics.precision.default-histogram-precision} segment = ${kamon.metrics.precision.default-histogram-precision} } dispatcher { maximum-pool-size { highest-trackable-value = 999999999 significant-value-digits = 2 } running-thread-count { highest-trackable-value = 999999999 significant-value-digits = 2 } queued-task-count { highest-trackable-value = 999999999 significant-value-digits = 2 } pool-size { highest-trackable-value = 999999999 significant-value-digits = 2 } } } } 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. ask-pattern-tracing = off } 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. # debug: show a messages for each class passed to the weaver indicating whether it was woven, excluded or ignored. # showWarn: show warning messages about the weaving process. showWeaveInfo = off verbose = off debug = off showWarn = off } }