aboutsummaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* fix prometheusgenofire2020-06-091-1/+1
|
* fix versionstring parsinggenofire2020-06-091-2/+4
|
* update clients naminggenofire2020-06-091-1/+1
|
* refactory prometheus exporter - use python libgenofire2020-06-093-65/+82
|
* initial documentation attemptnico2020-06-091-0/+73
| | | | + add install and configuration documentations
* fix version string being unpopulatednico2020-06-092-2/+13
| | | | | | | | | | * fix version string being empty + add error code 17 to the README resolves #2 Error Code 17 means one of two things a) the configured user credentials are not correct, therefore the user is not able to properly login b) the configured user does not have the correct permissions to interact with the api
* Client ressource additionnico2020-05-091-2/+3
| | | | | * update Xabber ressource names + add Monal ressource
* code cleanupnico2020-04-284-60/+80
| | | | | | | | * 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
* update requirements filenico2020-04-091-1/+3
| | | | + add ruamel.yaml to requierments file
* config handelingnico2020-04-081-10/+10
| | | | * add proper configuration handeling to the metrics class
* Merge branch 'yaml' into 'master'Martin/Geno2020-03-074-24/+36
|\ | | | | | | | | yaml config See merge request sum7/ejabberd-metrics!4
| * yaml confignico2020-03-064-24/+36
|/ | | | | | | | + implement yaml config file parsing * update default config file * update global config file from .conf to .yml ( debatable ) Signed-off-by: nico <nico@magicbroccoli.de>
* better session handelingnico2020-03-061-7/+14
| | | | | | * improved session handeling Due to the with statement in the session creation process, every requests to the api created a new session. This patch decreases the enormous TCP overhead, by creating a single global session to reuse.
* customizable muc hostnico2020-02-171-2/+3
| | | | + add optional argument to the EjabberdMetrics class to customize the default muc host sub-domain
* config file location overwritenico2020-02-172-7/+11
| | | | | | + add environment toggle to overwrite the config directory setting ejabberd_metrics_dev to 1 / true -> set the config path inside the dev directory
* Merge branch 'etc_config' into 'master'nico2020-02-164-32/+91
|\ | | | | | | | | utilize /etc/ directory See merge request sum7/ejabberd-metrics!3
| * utilize /etc/ directorynico2020-02-164-32/+91
|/ | | | + add config.py to read / touch create the etc config file
* ejabberd 19.* fixnico2020-02-161-1/+1
| | | | * ejabberd 19 and above report muc count only on the muc host
* fetch_muc improvementsnico2020-02-042-2/+19
| | | | | + add parsed version string property * improve fetch_muc method to not request the status string for each request
* backend readability and performance improvementsnico2019-12-291-25/+36
| | | | | | | | | + add some typing * optimized imports to only import if necessary * change xmlrpc connection to with statement * change rest connection to with statement * replace format string to f-string * pep8 changes
* fix parser errornico2019-12-291-2/+2
| | | | * influxdb does not expect a comma in front of the ts
* alignment changesnico2019-12-283-34/+36
| | | | | | | * update influx plugin use the rest interface * align influx.py to ejabberdrpc changes * replace format with f-strings * minor performance improvements
* improve error handling + fix mucgenofire2019-12-071-1/+3
|
* improve configuration (with default values) - also for testing ejabberdrpc.pygenofire2019-12-074-9/+62
|
* add rest api support to ejabberdrpc.pygenofire2019-12-071-10/+28
|
* Merge branch 'customizability' into 'master'Martin/Geno2019-12-074-10/+20
|\ | | | | | | | | Influxdb plugin changes See merge request sum7/ejabberd-metrics!2
| * systemd compliancenico2019-12-074-10/+20
|/ | | | | | | | + 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.
* Merge branch 'influxdb' into 'master'nico2019-10-244-2/+121
|\ | | | | | | | | InfluxDB Plugin See merge request sum7/ejabberd-metrics!1
| * final touchesnico2019-10-244-2/+121
|/ | | | | | | | | | | | # 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
* pep8 and gitignorenico2019-10-172-29/+142
| | | | | + add .gitignore * some pep8 changes
* client by (ipversion)Martin/Geno2019-10-172-29/+65
|
* s2s_in/out + mucMartin/Geno2019-10-172-10/+61
|
* fix systemd prometheus serviceMartin/Geno2019-10-171-1/+1
|
* systemd prometheus serviceMartin/Geno2019-10-171-0/+14
|
* first prometheus implMartin/Geno2019-10-171-0/+93
|
* first xml rpc apiMartin/Geno2019-10-171-0/+210
|
* Initial commitMartin/Geno2019-10-171-0/+2