Adds a method so that the exporter doesn't trigger a connection at start

parent 47686b21
......@@ -67,6 +67,10 @@ class RippleCollector:
LOG.warning('Could not retrieve balance. The result follows.')
LOG.warning('{}: {}'.format(r.get('result'), r.get('message')))
def describe(self):
""" Just a needed method, so that collect() isn't called at startup """
return []
def collect(self):
""" The actual collector """
metrics = {
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 to comment