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

parent f7a06a5c
......@@ -49,6 +49,10 @@ class StellarCollector:
LOG.debug('Found the following accounts: {}'.format(self.accounts))
def describe(self):
""" Just a needed method, so that collect() isn't called at startup """
return []
def collect(self):
""" The actual metrics 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