From 9b6d0c0b9723f9bd42949e34a947e8bbe68ebfb3 Mon Sep 17 00:00:00 2001 From: nico Date: Sun, 29 Dec 2019 00:52:01 +0100 Subject: fix parser error * influxdb does not expect a comma in front of the ts --- influx.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/influx.py b/influx.py index a2d5bfc..36d7a47 100644 --- a/influx.py +++ b/influx.py @@ -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(): -- cgit v1.2.3-54-g00ecf