fix parser error

* influxdb does not expect a comma in front of the ts
This commit is contained in:
nico 2019-12-29 00:52:01 +01:00
parent 7200131614
commit 9b6d0c0b97
Signed by: mightyBroccoli
GPG Key ID: EA7C31AAB1BDC1A2
1 changed files with 2 additions and 2 deletions

View File

@ -48,8 +48,8 @@ class Influx:
# global values
cur_ts = self._timestamp()
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_in={self._metrics.get_s2s_in()}i {cur_ts}')
data.append(f'ejabberd s2s_out={self._metrics.get_s2s_out()}i {cur_ts}')
# vhost values
for vhost in self._metrics.get_vhosts():