data collection print out

master
Steve L. Nyemba 8 years ago
parent ce692772f2
commit 89f710fbff

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

Loading…
Cancel
Save