From 09f0932a4310f9fa529110c18cd13cbb4eb69e72 Mon Sep 17 00:00:00 2001 From: Eugene Platonov Date: Tue, 1 Dec 2015 13:27:35 -0500 Subject: + statsd: allow time and memory metrics be scaled before sending to statsd --- kamon-statsd/src/main/resources/reference.conf | 10 ++++++++++ 1 file changed, 10 insertions(+) (limited to 'kamon-statsd/src/main/resources') diff --git a/kamon-statsd/src/main/resources/reference.conf b/kamon-statsd/src/main/resources/reference.conf index 9ea2832a..85526f1f 100644 --- a/kamon-statsd/src/main/resources/reference.conf +++ b/kamon-statsd/src/main/resources/reference.conf @@ -74,6 +74,16 @@ kamon { # Max packet size for UDP metrics data sent to StatsD. max-packet-size = 1024 bytes } + + # All time values are collected in nanoseconds, + # to scale before sending to StatsD set "time-units" to "s" or "ms" or "µs". + # Value "ns" is equivalent to omitting the setting + # time-units = "ns" + + # All memory values are collected in bytes, + # to scale before sending to StatsD set "memory-units" to "gb" or "mb" or "kb". + # Value "b" is equivalent to omitting the setting + # memory-units = "b" } modules { -- cgit v1.2.3