Commit Graph

16 Commits

Author SHA1 Message Date
vela-jabber c42b0f8a51 prometheus fix multithreading 2021-04-17 17:58:42 +02:00
genofire 0befdb44c2 exception handling 2020-07-19 22:42:05 +02:00
nico 044e0334d2
flake8 fixup
* 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.
2020-06-29 18:59:16 +02:00
nico 5f0cb289c1
black reformat
* black reformatted the code
2020-06-29 11:03:49 +02:00
genofire 1256ea7de8 add new metrics to prometheus 2020-06-26 08:25:10 +02:00
nico 7296375924
pep8 and import ajustments
* optimzed import statements
* pep8 alignment changes, mostly missing whitespaces, newlines or redundant brackets
2020-06-26 00:55:49 +02:00
genofire d5304e67eb prometheus: fix client by ip 2020-06-10 12:12:46 +02:00
genofire 7ca08b12c0 fix ipv6 support for prometheus 2020-06-09 20:56:01 +02:00
genofire 6029cdc831 fix prometheus 2020-06-09 20:22:20 +02:00
genofire 3bcc8ab25a refactory prometheus exporter - use python lib 2020-06-09 20:18:48 +02:00
nico d44e4021fe
code cleanup
* 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
2020-04-28 14:11:49 +02:00
nico f02b7e87ed utilize /etc/ directory
+ add config.py to read / touch create the etc config file
2020-02-16 20:19:03 +01:00
genofire a5a39958cc
improve configuration (with default values) - also for testing ejabberdrpc.py 2019-12-07 16:01:58 +01:00
Martin/Geno 47683773ff
client by (ipversion) 2019-10-17 13:45:55 +02:00
Martin/Geno 4ceca3f87e
s2s_in/out + muc 2019-10-17 09:13:00 +02:00
Martin/Geno 9877bdf22b
first prometheus impl 2019-10-17 07:01:00 +02:00