diff --git a/rhodecode/config/middleware.py b/rhodecode/config/middleware.py --- a/rhodecode/config/middleware.py +++ b/rhodecode/config/middleware.py @@ -527,8 +527,8 @@ def sanitize_settings_and_apply_defaults # statsd settings_maker.make_setting('statsd.enabled', False, parser='bool') - settings_maker.make_setting('statsd.statsd_host', '0.0.0.0') - settings_maker.make_setting('statsd.statsd_port', 8125, parser='int') + settings_maker.make_setting('statsd.statsd_host', 'statsd-exporter', parser='string') + settings_maker.make_setting('statsd.statsd_port', 9125, parser='int') settings_maker.make_setting('statsd.statsd_prefix', '') settings_maker.make_setting('statsd.statsd_ipv6', False, parser='bool') diff --git a/rhodecode/config/settings_maker.py b/rhodecode/config/settings_maker.py --- a/rhodecode/config/settings_maker.py +++ b/rhodecode/config/settings_maker.py @@ -27,7 +27,10 @@ import tempfile import logging.config log = logging.getLogger(__name__) -set_keys = {} +# skip keys, that are set here, so we don't double process those +set_keys = { + '__file__': '' +} def str2bool(_str):