mirror of
https://github.com/carrotquest/django-clickhouse.git
synced 2024-11-15 05:46:41 +03:00
Removed monitoring, as it has strange avg results for all queries
and models
This commit is contained in:
parent
c934ff4df5
commit
cac5fe9d52
|
@ -26,11 +26,6 @@ class Database(InfiDatabase):
|
||||||
def _get_applied_migrations(self, migrations_package_name):
|
def _get_applied_migrations(self, migrations_package_name):
|
||||||
raise NotImplementedError("This method is not supported by django_clickhouse.")
|
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:
|
class ConnectionProxy:
|
||||||
_connections = {}
|
_connections = {}
|
||||||
|
|
Loading…
Reference in New Issue
Block a user