Explorar el Código

data collection print out

Steve L. Nyemba hace 8 años
padre
commit
89f710fbff
Se han modificado 1 ficheros con 2 adiciones y 0 borrados
  1. 2 0
      src/utils/agents/data-collector.py

+ 2 - 0
src/utils/agents/data-collector.py

@@ -83,6 +83,7 @@ class ICollector(Thread) :
 				else:
 					label = id
 					row = data
+
 				self.lock.acquire()
 				store = self.factory.instance(type=write_class,args=read_args)
 				store.flush(size=200)
@@ -90,6 +91,7 @@ class ICollector(Thread) :
 				self.lock.release()
 			if 'MONITOR_CONFIG_PATH' in os.environ :
 				break
+			print '\t *** ',str(datetime.today()),' ** ',app
 			time.sleep(self.DELAY)
 			
 		print ' *** Exiting ',self.name