sensible default kamon config

pull/1736/head
Thibault Duplessis 2016-03-10 19:59:03 +07:00
parent c6629a0085
commit 0bca01371a
1 changed files with 47 additions and 15 deletions

View File

@ -665,22 +665,54 @@ akka {
}
kamon {
metric {
tick-interval = 2 second
track-unmatched-entities = no
filters {
trace {
includes = [ ]
excludes = [ ]
}
}
}
statsd {
hostname = ""
port = 8125
# value must be equal or greater than the kamon.metrics.tick-interval setting
flush-interval = 2 second
# Max packet size for UDP metrics data sent to StatsD
max-packet-size = 2048 bytes
subscriptions {
histogram = [ "**" ]
min-max-counter = [ "**" ]
gauge = [ "**" ]
counter = [ "**" ]
trace = [ "**" ]
trace-segment = [ "**" ]
system-metric = [ "**" ]
http-server = [ "**" ]
}
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 = "local"
# application.entity.entity-name.metric-name
include-hostname = false
metric-key-generator = lila.api.KeepDotsMetricKeyGenerator
metric-name-normalization-strategy = keep-dots
}
}
modules {
kamon-scala {
auto-start = no
requires-aspectj = no
extension-id = none
}
kamon-akka {
auto-start = no
requires-aspectj = no
extension-id = "kamon.akka.Akka"
}
kamon-play {
auto-start = no
requires-aspectj = no
extension-id = "kamon.play.Play"
}
kamon-statsd {
auto-start = no
requires-aspectj = no