From bbf156057f04ff9b05a316e403ed4e090ae6fafc Mon Sep 17 00:00:00 2001 From: nico Date: Fri, 26 Jun 2020 01:00:39 +0200 Subject: add new values to influx + add uptime and process values to influx exporter --- influx.py | 2 ++ 1 file changed, 2 insertions(+) (limited to 'influx.py') diff --git a/influx.py b/influx.py index 2a0dcf5..e5b0065 100644 --- a/influx.py +++ b/influx.py @@ -49,6 +49,8 @@ class Influx: 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 uptime={self._metrics.get_uptime()}i {cur_ts}') + data.append(f'ejabberd processes={self._metrics.get_processes()}i {cur_ts}') # vhost values for vhost in self._metrics.get_vhosts(): -- cgit v1.2.3-18-g5258