| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
|
|
| |
* organize global values
+ add global uptime value
+ add global processes count value
|
|\
| |
| | |
See merge request sum7/ejabberd-tools!5
|
| |
| |
| |
| |
| |
| |
| |
| | |
* add default logging NullHandler
* fix indentation mismatch
* rename control to calls to better point out its purpose
* rename class to EjabberdApiCalls to better point out it purpose
* changed get_nodes to an internal support method
|
| |
| |
| |
| |
| |
| | |
This reverts commit 990d3abdc60bea8a525d4fbdc56cdff2e44947ce.
my mistake, I hadn't checked if I am on the correct branch
|
| |
| |
| |
| |
| | |
+ add global uptime value
+ add global processes count value
|
| | |
|
| | |
|
| | |
|
| |
| |
| |
| |
| |
| | |
* align url parameter to the ejabberd example
* update virtualenv command
* remove influxdb service requirement from service template
|
|/
|
|
| |
* disable debug logs by default in the config template
|
|
|
|
| |
what have I become - a pep8 monster
|
| |
|
| |
|
|
|
|
|
|
| |
+ add systemd protective features to restrict the system access
+ add service documentation link
+ add service required / after fields
|
|
|
|
| |
gunicorn VIRTUAL_ENV detection is not compatible to our tools
|
| |
|
| |
|
| |
|
|
|
|
| |
+ 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
|