| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
| |
+ add systemd service documentation
|
|
|
|
|
| |
* update version regex to succesfully match only the version string
+ add missing import
|
| |
|
| |
|
| |
|
| |
|
| |
|
| |
|
|
|
|
| |
+ add install and configuration documentations
|
|
|
|
|
|
|
|
|
|
| |
* 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
|
|
|
|
|
| |
* update Xabber ressource names
+ add Monal ressource
|
|
|
|
|
|
|
|
| |
* 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
|
|
|
|
| |
+ add ruamel.yaml to requierments file
|
|
|
|
| |
* add proper configuration handeling to the metrics class
|
|\
| |
| |
| |
| | |
yaml config
See merge request sum7/ejabberd-metrics!4
|
|/
|
|
|
|
|
|
| |
+ 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>
|
|
|
|
|
|
| |
* 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.
|
|
|
|
| |
+ add optional argument to the EjabberdMetrics class to customize the default muc host sub-domain
|
|
|
|
|
|
| |
+ add environment toggle to overwrite the config directory
setting ejabberd_metrics_dev to 1 / true -> set the config path inside the dev directory
|
|\
| |
| |
| |
| | |
utilize /etc/ directory
See merge request sum7/ejabberd-metrics!3
|
|/
|
|
| |
+ add config.py to read / touch create the etc config file
|
|
|
|
| |
* ejabberd 19 and above report muc count only on the muc host
|
|
|
|
|
| |
+ add parsed version string property
* improve fetch_muc method to not request the status string for each request
|
|
|
|
|
|
|
|
|
| |
+ 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
|
|
|
|
| |
* influxdb does not expect a comma in front of the ts
|
|
|
|
|
|
|
| |
* update influx plugin use the rest interface
* align influx.py to ejabberdrpc changes
* replace format with f-strings
* minor performance improvements
|
| |
|
| |
|
| |
|
|\
| |
| |
| |
| | |
Influxdb plugin changes
See merge request sum7/ejabberd-metrics!2
|
|/
|
|
|
|
|
|
| |
+ 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.
|
|\
| |
| |
| |
| | |
InfluxDB Plugin
See merge request sum7/ejabberd-metrics!1
|
|/
|
|
|
|
|
|
|
|
|
|
| |
# 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
|
|
|
|
|
| |
+ add .gitignore
* some pep8 changes
|
| |
|
| |
|
| |
|
| |
|
| |
|
| |
|
|
|