aboutsummaryrefslogtreecommitdiffstats
path: root/prometheus.py
diff options
context:
space:
mode:
authornico <nico@magicbroccoli.de>2020-04-28 14:11:49 +0200
committernico <nico@magicbroccoli.de>2020-04-28 14:11:49 +0200
commitd44e4021fe879230adb762972b9080d021176146 (patch)
tree7763fc30bf6e177f8ec5af152994323851a929d5 /prometheus.py
parentbfcb912595cf15746882603dd9c8c9feaaba410d (diff)
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
Diffstat (limited to 'prometheus.py')
-rw-r--r--[-rwxr-xr-x]prometheus.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/prometheus.py b/prometheus.py
index 4aab1b3..4441c87 100755..100644
--- a/prometheus.py
+++ b/prometheus.py
@@ -8,7 +8,7 @@ from http.server import BaseHTTPRequestHandler, HTTPServer
from socketserver import ThreadingMixIn
from config import Config
-from ejabberdrpc import EjabberdMetrics
+from metrics import EjabberdMetrics
class _ThreadingSimpleServer(ThreadingMixIn, HTTPServer):