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



                                        


                                                                                                              
               


                                                                                                   
                             

                                                                   
                          
 

                                                                                                           

                     


                                 


                                                                                                               
                           
     
   
 
# ==================================== #
# Kamon-StatsD Reference Configuration #
# ==================================== #

kamon {
  statsd {
    # Hostname and port in which your StatsD is running. Remember that StatsD packets are sent using UDP and
    # setting unreachable hosts and/or not open ports wont be warned by the Kamon, your data wont go anywhere.
    hostname = "127.0.0.1"
    port = 8125

    # Interval between metrics data flushes to StatsD. It's value must be equal or greater than the
    # kamon.metrics.tick-interval setting.
    flush-interval = 1 second

    # Max packet size in bytes for UDP metrics data sent to StatsD.
    max-packet-size = 1024

    # Subscription patterns used to select which metrics will be pushed to StatsD. Note that first, metrics
    # collection for your desired entities must be activated under the kamon.metrics.filters settings.
    includes {
      actor = [ "*" ]
    }

    simple-metric-key-generator {
      # Application prefix for all metrics pushed to StatsD. The default namespacing scheme for metrics follows
      # this pattern:
      #    application.host.entity.entity-name.metric-name
      application = "Kamon"
    }
  }
}