fix parser error
* influxdb does not expect a comma in front of the ts
This commit is contained in:
parent
7200131614
commit
9b6d0c0b97
|
@ -48,8 +48,8 @@ class Influx:
|
||||||
|
|
||||||
# global values
|
# global values
|
||||||
cur_ts = self._timestamp()
|
cur_ts = self._timestamp()
|
||||||
data.append(f'ejabberd s2s_in={self._metrics.get_s2s_in()}i, {cur_ts}')
|
data.append(f'ejabberd s2s_in={self._metrics.get_s2s_in()}i {cur_ts}')
|
||||||
data.append(f'ejabberd s2s_out={self._metrics.get_s2s_out()}i, {cur_ts}')
|
data.append(f'ejabberd s2s_out={self._metrics.get_s2s_out()}i {cur_ts}')
|
||||||
|
|
||||||
# vhost values
|
# vhost values
|
||||||
for vhost in self._metrics.get_vhosts():
|
for vhost in self._metrics.get_vhosts():
|
||||||
|
|
Loading…
Reference in New Issue