Conversion to milliseconds
Change-Id: I9044899c212ff2ca93090e6d7b552456f616cfcf
This commit is contained in:
parent
03b54c235c
commit
960529b171
@ -47,9 +47,9 @@ max_buffer_size = 32768
|
|||||||
zookeeper_path = /persister_partitions/metrics
|
zookeeper_path = /persister_partitions/metrics
|
||||||
|
|
||||||
[influxdb]
|
[influxdb]
|
||||||
database_name = test
|
database_name = mon
|
||||||
ip_address = 192.168.10.4
|
ip_address = 192.168.10.4
|
||||||
port = 8086
|
port = 8086
|
||||||
user = root
|
user = mon_persister
|
||||||
password = root
|
password = password
|
||||||
|
|
||||||
|
@ -225,7 +225,7 @@ class AbstractPersister(threading.Thread):
|
|||||||
|
|
||||||
if self._data_points:
|
if self._data_points:
|
||||||
try:
|
try:
|
||||||
self._influxdb_client.write_points(self._data_points.values())
|
self._influxdb_client.write_points(self._data_points.values(), 'ms')
|
||||||
except Exception:
|
except Exception:
|
||||||
log.exception("Error writing to influxdb: {}"
|
log.exception("Error writing to influxdb: {}"
|
||||||
.format(self._data_points.values()))
|
.format(self._data_points.values()))
|
||||||
|
Loading…
Reference in New Issue
Block a user