diff options
author | nico <nico@magicbroccoli.de> | 2019-12-29 00:52:01 +0100 |
---|---|---|
committer | nico <nico@magicbroccoli.de> | 2019-12-29 00:52:01 +0100 |
commit | 9b6d0c0b9723f9bd42949e34a947e8bbe68ebfb3 (patch) | |
tree | ff6d4ab6da1dc4be995346e137d0971fa191b3dc | |
parent | 7200131614a27a58a62eac4bd520fbc0c50fa32b (diff) |
fix parser error
* influxdb does not expect a comma in front of the ts
-rw-r--r-- | influx.py | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -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(): |