diff --git a/rhodecode/config/middleware.py b/rhodecode/config/middleware.py --- a/rhodecode/config/middleware.py +++ b/rhodecode/config/middleware.py @@ -129,16 +129,10 @@ def make_pyramid_app(global_config, **se # creating the app uses a connection - return it after we are done meta.Session.remove() - statsd = StatsdClient.statsd total_time = time.time() - start_time log.info('Pyramid app `%s` created and configured in %.2fs', pyramid_app.func_name, total_time) - if statsd: - elapsed_time_ms = round(1000.0 * total_time) # use ms only rounded time - statsd.timing('rhodecode_app_bootstrap_timing', elapsed_time_ms, tags=[ - "pyramid_app:{}".format(pyramid_app.func_name) - ], use_decimals=False) return pyramid_app