mirror of
https://github.com/jupyterhub/jupyterhub.git
synced 2025-10-17 06:52:59 +00:00
Merge pull request #3568 from paccorsi/proxy-statsd-cmd
Stop injecting statsd parameters into the configurable HTTP proxy
This commit is contained in:
@@ -683,17 +683,6 @@ class ConfigurableHTTPProxy(Proxy):
|
||||
cmd.extend(['--ssl-cert', self.ssl_cert])
|
||||
if self.app.internal_ssl:
|
||||
cmd.extend(self._get_ssl_options())
|
||||
if self.app.statsd_host:
|
||||
cmd.extend(
|
||||
[
|
||||
'--statsd-host',
|
||||
self.app.statsd_host,
|
||||
'--statsd-port',
|
||||
str(self.app.statsd_port),
|
||||
'--statsd-prefix',
|
||||
self.app.statsd_prefix + '.chp',
|
||||
]
|
||||
)
|
||||
# Warn if SSL is not used
|
||||
if ' --ssl' not in ' '.join(cmd):
|
||||
self.log.warning(
|
||||
|
Reference in New Issue
Block a user