Merge "Conversion to milliseconds"

This commit is contained in:
Jenkins 2015-03-11 19:11:10 +00:00 committed by Gerrit Code Review
commit 10af5ee082
2 changed files with 4 additions and 4 deletions

View File

@ -47,9 +47,9 @@ max_buffer_size = 32768
zookeeper_path = /persister_partitions/metrics
[influxdb]
database_name = test
database_name = mon
ip_address = 192.168.10.4
port = 8086
user = root
password = root
user = mon_persister
password = password

View File

@ -225,7 +225,7 @@ class AbstractPersister(threading.Thread):
if self._data_points:
try:
self._influxdb_client.write_points(self._data_points.values())
self._influxdb_client.write_points(self._data_points.values(), 'ms')
except Exception:
log.exception("Error writing to influxdb: {}"
.format(self._data_points.values()))