mirror of
https://github.com/frappe/gunicorn.git
synced 2026-01-14 11:09:11 +08:00
Add the statsd-prefix config option
This commit is contained in:
parent
8b80fee749
commit
34b56d5973
@ -1649,3 +1649,14 @@ class StatsdHost(Setting):
|
|||||||
desc = """\
|
desc = """\
|
||||||
host:port of the statsd server to log to
|
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
|
||||||
|
"""
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user