Commit dc85b3c1 by Nagy Gergő

Refactored config file parser and client

parent a3f07e82
...@@ -28,7 +28,7 @@ class collectables: ...@@ -28,7 +28,7 @@ class collectables:
def listMetricsNameToKey(key): def listMetricsNameToKey(key):
return [x.name for x in collectables.__collectables[key]] return [x.name for x in collectables.__collectables[key]]
@staticmethod @staticmethod
def provide(requests = []): def provide(requests = []):
valid_keys = collectables.listKeys() valid_keys = collectables.listKeys()
reqs = [request for request, value in requests.items() if value=="True"] reqs = [request for request, value in requests.items() if value=="True"]
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or sign in to comment