add new values to influx
+ add uptime and process values to influx exporter
This commit is contained in:
parent
907d3bdb61
commit
bbf156057f
|
@ -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():
|
||||
|
|
Loading…
Reference in New Issue