aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authornico <nico@magicbroccoli.de>2019-12-29 00:52:01 +0100
committernico <nico@magicbroccoli.de>2019-12-29 00:52:01 +0100
commit9b6d0c0b9723f9bd42949e34a947e8bbe68ebfb3 (patch)
treeff6d4ab6da1dc4be995346e137d0971fa191b3dc
parent7200131614a27a58a62eac4bd520fbc0c50fa32b (diff)
fix parser error
* influxdb does not expect a comma in front of the ts
-rw-r--r--influx.py4
1 files 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():