aboutsummaryrefslogtreecommitdiff
path: root/kamon-statsd/src/main/resources
diff options
context:
space:
mode:
authorEugene Platonov <jozic@live.com>2015-12-01 13:27:35 -0500
committerEugene Platonov <jozic@live.com>2015-12-01 14:15:06 -0500
commit09f0932a4310f9fa529110c18cd13cbb4eb69e72 (patch)
tree2e348164336f00cf7dc7a491456e48200d20b3e8 /kamon-statsd/src/main/resources
parentda316898d4fd99407b250ac9abb4de1de3b88dc2 (diff)
downloadKamon-09f0932a4310f9fa529110c18cd13cbb4eb69e72.tar.gz
Kamon-09f0932a4310f9fa529110c18cd13cbb4eb69e72.tar.bz2
Kamon-09f0932a4310f9fa529110c18cd13cbb4eb69e72.zip
+ statsd: allow time and memory metrics be scaled before sending to statsd
Diffstat (limited to 'kamon-statsd/src/main/resources')
-rw-r--r--kamon-statsd/src/main/resources/reference.conf10
1 files changed, 10 insertions, 0 deletions
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 {