mirror of
https://github.com/carrotquest/django-clickhouse.git
synced 2024-11-15 05:46:41 +03:00
Fix in counter
This commit is contained in:
parent
d8dccf209d
commit
59f92d5b6e
|
@ -64,7 +64,7 @@ class Storage:
|
||||||
:return: None
|
:return: None
|
||||||
"""
|
"""
|
||||||
key = "%s.sync.%s.queue" % (config.STATSD_PREFIX, import_key)
|
key = "%s.sync.%s.queue" % (config.STATSD_PREFIX, import_key)
|
||||||
statsd.gauge(key, self.operations_count(import_key), delta=True)
|
statsd.gauge(key, self.operations_count(import_key))
|
||||||
|
|
||||||
def operations_count(self, import_key, **kwargs):
|
def operations_count(self, import_key, **kwargs):
|
||||||
# type: (str, **dict) -> int
|
# type: (str, **dict) -> int
|
||||||
|
|
Loading…
Reference in New Issue
Block a user