self.pushgateway = 'localhost:9091'\r
# when sdk is started with docker-compose, we could use\r
# self.pushgateway = 'pushgateway:9091'\r
- # Start up the server to expose the metrics to Prometheus\r
- #start_http_server(8000)\r
\r
# supported Prometheus metrics\r
self.registry = CollectorRegistry()\r
self.monitor_flow_thread.start()\r
\r
# helper tools\r
- # Prometheus pushgateway and DB are started as external contianer, outside of son-emu\r
- #self.pushgateway_process = self.start_PushGateway()\r
- #self.prometheus_process = self.start_Prometheus()\r
- #self.cadvisor_process = self.start_cadvisor()\r
+ # cAdvisor, Prometheus pushgateway and DB are started as external container, outside of son-emu\r
+\r
\r
# first set some parameters, before measurement can start\r
def setup_flow(self, vnf_name, vnf_interface=None, metric='tx_packets', cookie=0):\r