sensible default kamon config
parent
c6629a0085
commit
0bca01371a
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue