return 'Error stopping monitoring metric: {0} on {1}:{2}'.format(\r
metric, vnf_name, vnf_interface)\r
\r
-\r
-# get all metrics defined in the list and export it to Prometheus\r
-\r
def get_flow_metrics(self):\r
+ """\r
+ Get all metrics defined in the list and export it to Prometheus.\r
+ """\r
while self.start_monitoring:\r
\r
self.monitor_flow_lock.acquire()\r