From cac5fe9d52a0588fb73d946b15bee400119280d8 Mon Sep 17 00:00:00 2001 From: M1ha Date: Wed, 23 Jan 2019 10:40:37 +0500 Subject: [PATCH] Removed monitoring, as it has strange avg results for all queries and models --- src/django_clickhouse/database.py | 5 ----- 1 file changed, 5 deletions(-) diff --git a/src/django_clickhouse/database.py b/src/django_clickhouse/database.py index a658f00..30c4303 100644 --- a/src/django_clickhouse/database.py +++ b/src/django_clickhouse/database.py @@ -26,11 +26,6 @@ class Database(InfiDatabase): def _get_applied_migrations(self, migrations_package_name): raise NotImplementedError("This method is not supported by django_clickhouse.") - def _send(self, data, settings=None, stream=False): - statsd_key = "%s.query" % config.STATSD_PREFIX - with statsd.timer(statsd_key): - return super(Database, self)._send(data, settings=settings, stream=stream) - class ConnectionProxy: _connections = {}