aboutsummaryrefslogblamecommitdiff
path: root/kamon-core/src/main/resources/reference.conf
blob: 9abfd26a9fe6d6d306d6062216b461202384c15c (plain) (tree)
1
2
3
4
5
6
7
8
9



                                      
       



                                                                                          
           
 
                                                                                               

                            
                                                                  

                                               
 

                 

                                                         
 

                                                                   


     







                                                
               
                            



                       






                                             

               












                                                 





                                                 
                 



                                                 



         
 


                                                                                                                      

                             

          
 





                                                                                                                      




                       
 
# ================================== #
# 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


    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 {
      actor {
        processing-time {
          highest-trackable-value = 3600000000000
          significant-value-digits = 2
        }
        time-in-mailbox {
          highest-trackable-value = 3600000000000
          significant-value-digits = 2
        }
        mailbox-size {
          highest-trackable-value = 999999999
          significant-value-digits = 2
        }
      }

      trace {
        elapsed-time {
          highest-trackable-value = 3600000000000
          significant-value-digits = 2
        }
        segment {
          highest-trackable-value = 3600000000000
          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
  }
}