mirror of
https://github.com/sprockets/sprockets.mixins.metrics.git
synced 2024-11-22 03:00:25 +00:00
Whoops
This commit is contained in:
parent
9ac286bf65
commit
c5734a1f69
1 changed files with 1 additions and 1 deletions
|
@ -127,7 +127,6 @@ class InfluxDBCollector(object):
|
|||
io_loop=None, submission_interval=SUBMISSION_INTERVAL,
|
||||
max_batch_size=MAX_BATCH_SIZE, tags=None):
|
||||
self._buffer = list()
|
||||
self._client.configure(None, defaults={'user_agent': _USER_AGENT})
|
||||
self._database = database
|
||||
self._influxdb_url = '{}?db={}'.format(url, database)
|
||||
self._interval = submission_interval or self.SUBMISSION_INTERVAL
|
||||
|
@ -138,6 +137,7 @@ class InfluxDBCollector(object):
|
|||
|
||||
self._client = httpclient.AsyncHTTPClient(force_instance=True,
|
||||
io_loop=self._io_loop)
|
||||
self._client.configure(None, defaults={'user_agent': _USER_AGENT})
|
||||
|
||||
# Add the periodic callback for submitting metrics
|
||||
LOGGER.info('Starting PeriodicCallback for writing InfluxDB metrics')
|
||||
|
|
Loading…
Reference in a new issue