Add the statsd-prefix config option

This commit is contained in:
Scott Sanders 2014-09-12 13:52:15 -04:00
parent 8b80fee749
commit 34b56d5973

View File

@ -1649,3 +1649,14 @@ class StatsdHost(Setting):
desc = """\
host:port of the statsd server to log to
"""
class StatsdPrefix(Setting):
name = "statsd_prefix"
section = "Logging"
cli = ["--statsd-prefix"]
meta = "STATSD_PREFIX"
default = ""
validator = validate_string
desc ="""\
prefix to use when emitting statsd metrics
"""