aboutsummaryrefslogtreecommitdiff
path: root/kamon-statsd/src/main/resources
diff options
context:
space:
mode:
authorRafael Chacon <rchacon@myfitnesspal.com>2014-08-20 07:47:48 -0700
committerRafael Chacon <rchacon@myfitnesspal.com>2014-08-20 07:47:48 -0700
commitbe65d54a8c120343f87f07f617b296bfc5442625 (patch)
treeda551faace02fb0e4cb86881bfb4af37053efdbf /kamon-statsd/src/main/resources
parentbd038442903e9070626ab21b64a4016d2ad5ae6a (diff)
downloadKamon-be65d54a8c120343f87f07f617b296bfc5442625.tar.gz
Kamon-be65d54a8c120343f87f07f617b296bfc5442625.tar.bz2
Kamon-be65d54a8c120343f87f07f617b296bfc5442625.zip
+ statsd: add the include-hostname setting to the default key generator
* This commit adds 'include-hostname' the default key generator setting in statsd. When set to false, the generated keys wont include host information. They will have the following scheme: application.entity.entity-name.metric-name
Diffstat (limited to 'kamon-statsd/src/main/resources')
-rw-r--r--kamon-statsd/src/main/resources/reference.conf4
1 files changed, 4 insertions, 0 deletions
diff --git a/kamon-statsd/src/main/resources/reference.conf b/kamon-statsd/src/main/resources/reference.conf
index eac5eade..f86052c1 100644
--- a/kamon-statsd/src/main/resources/reference.conf
+++ b/kamon-statsd/src/main/resources/reference.conf
@@ -33,6 +33,10 @@ kamon {
# this pattern:
# application.host.entity.entity-name.metric-name
application = "kamon"
+ # Includes the name of the hostname in the generated metric. When set to false, the scheme for the metrics
+ # will look as follows:
+ # application.entity.entity-name.metric-name
+ include-hostname = true
}
}
} \ No newline at end of file