diff options
author | Diego <diegolparra@gmail.com> | 2015-11-15 19:42:59 -0300 |
---|---|---|
committer | Diego <diegolparra@gmail.com> | 2015-11-15 19:42:59 -0300 |
commit | 159f43381b2f4fd3c8039af8cc7e3272e2f9d936 (patch) | |
tree | f06391f9a7f3f1e6b207ded3c06f280294f07f51 /kamon-statsd/src/main/resources | |
parent | 539b54c3b43c68ad418ca77032f557a4da3e3a59 (diff) | |
parent | ecf051478e80ba4ce6e7c8a169feefa771cc8e17 (diff) | |
download | Kamon-159f43381b2f4fd3c8039af8cc7e3272e2f9d936.tar.gz Kamon-159f43381b2f4fd3c8039af8cc7e3272e2f9d936.tar.bz2 Kamon-159f43381b2f4fd3c8039af8cc7e3272e2f9d936.zip |
wip: merge from master and fix some test
Diffstat (limited to 'kamon-statsd/src/main/resources')
-rw-r--r-- | kamon-statsd/src/main/resources/reference.conf | 17 |
1 files changed, 14 insertions, 3 deletions
diff --git a/kamon-statsd/src/main/resources/reference.conf b/kamon-statsd/src/main/resources/reference.conf index 4840fb11..9ea2832a 100644 --- a/kamon-statsd/src/main/resources/reference.conf +++ b/kamon-statsd/src/main/resources/reference.conf @@ -14,9 +14,6 @@ kamon { # kamon.metric.tick-interval setting. flush-interval = 10 seconds - # Max packet size for UDP metrics data sent to StatsD. - max-packet-size = 1024 bytes - # 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. subscriptions { @@ -63,6 +60,20 @@ kamon { # version of StatsD or if you are running your own, customized version of StatsD that supports this. metric-name-normalization-strategy = normalize } + + # FQCN of the implementation of `kamon.statsd.StatsDMetricsSenderFactory` to be instantiated and use for + # creating StatsD sender. Provided implementations are: + # - `kamon.statsd.BatchStatsDMetricsSender`. Sends a UDP packet every "kamon.statsd.flush-interval" or + # as long as "kamon.statsd.batch-metric-sender.max-packet-size" is reached. Default one. + # - `kamon.statsd.SimpleStatsDMetricsSender`. Sends a UDP packet for each piece of data it receives. + metric-sender-factory = kamon.statsd.BatchStatsDMetricsSender + + # Settings for `kamon.statsd.BatchStatsDMetricsSender`. + # Used only if kamon.statsd.metric-sender-factory is set to `kamon.statsd.BatchStatsDMetricsSender` + batch-metric-sender { + # Max packet size for UDP metrics data sent to StatsD. + max-packet-size = 1024 bytes + } } modules { |