aboutsummaryrefslogtreecommitdiff
path: root/kamon-statsd/src/main/resources
diff options
context:
space:
mode:
authorRafael Chacon <rchacon@myfitnesspal.com>2014-08-26 10:09:22 -0700
committerRafael Chacon <rchacon@myfitnesspal.com>2014-08-26 10:09:22 -0700
commit9d13ae86dab7f147d95131e84a56b037ae06f118 (patch)
treee9a0c8ec19f1ec7c3843384ddbf6976e516e82a1 /kamon-statsd/src/main/resources
parentbe65d54a8c120343f87f07f617b296bfc5442625 (diff)
downloadKamon-9d13ae86dab7f147d95131e84a56b037ae06f118.tar.gz
Kamon-9d13ae86dab7f147d95131e84a56b037ae06f118.tar.bz2
Kamon-9d13ae86dab7f147d95131e84a56b037ae06f118.zip
+ statsd: add hostname-override to statsd config options.
* This setting allows users to override the hostname used by Kamon when sending metrics to statsd.
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 f86052c1..c7229234 100644
--- a/kamon-statsd/src/main/resources/reference.conf
+++ b/kamon-statsd/src/main/resources/reference.conf
@@ -37,6 +37,10 @@ kamon {
# will look as follows:
# application.entity.entity-name.metric-name
include-hostname = true
+ # Allow users to override the name of the hostname reported by kamon. When changed, the scheme for the metrics
+ # will have the following pattern:
+ # application.myhostname.entity.entity-name.metric-name
+ hostname-override = "none"
}
}
} \ No newline at end of file