aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--influx.py2
1 files changed, 2 insertions, 0 deletions
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():