diff options
author | nico <nico@magicbroccoli.de> | 2020-06-26 01:00:39 +0200 |
---|---|---|
committer | nico <nico@magicbroccoli.de> | 2020-06-26 01:00:39 +0200 |
commit | bbf156057f04ff9b05a316e403ed4e090ae6fafc (patch) | |
tree | 8ff041d8f336aee37725fc7e983f6cea8bc4a641 | |
parent | 907d3bdb6171997469b18f32c091885639e3444b (diff) |
add new values to influx
+ add uptime and process values to influx exporter
-rw-r--r-- | influx.py | 2 |
1 files changed, 2 insertions, 0 deletions
@@ -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(): |