aboutsummaryrefslogtreecommitdiffstats
path: root/influx.py
Commit message (Collapse)AuthorAgeFilesLines
* flake8 fixupnico2020-06-291-2/+2
| | | | | | | | | * fix trailing/ leading whitespaces * fix None comparison to use is + add noqa ignore statements for the influx escape replacements + add noqa ignore statements around the bare excepts TODO: This is only a temporary fix for most of the bare excepts, we need further specify those.
* black reformatnico2020-06-291-25/+32
| | | | * black reformatted the code
* add new values to influxnico2020-06-261-0/+2
| | | | + add uptime and process values to influx exporter
* fixupnico2020-06-101-0/+1
| | | | | * update version regex to succesfully match only the version string + add missing import
* add logging to influxdbgenofire2020-06-091-0/+3
|
* code cleanupnico2020-04-281-1/+1
| | | | | | | | * split up api and metrics class * revamped file nameming to better resemble their function * update prometheus and influx files * fixed version regex to not break on - in version string
* utilize /etc/ directorynico2020-02-161-13/+9
| | | | + add config.py to read / touch create the etc config file
* fix parser errornico2019-12-291-2/+2
| | | | * influxdb does not expect a comma in front of the ts
* alignment changesnico2019-12-281-32/+33
| | | | | | | * update influx plugin use the rest interface * align influx.py to ejabberdrpc changes * replace format with f-strings * minor performance improvements
* improve configuration (with default values) - also for testing ejabberdrpc.pygenofire2019-12-071-3/+12
|
* systemd compliancenico2019-12-071-8/+11
| | | | | | | | + add possibility to customize db name via config file + file path configurations are dealt with dynamically * at least Debian does not feature a group called nobody it is called nogroup I am not sure if other systems feature a group called nobody.
* final touchesnico2019-10-241-0/+97
# added + add method to escape whitespaces in keys and values # changed * init client handler only once and not every time * don't try to create database on every run just on the first one # removed - vhosts are listed first and after that the respective nodes are listed