|
|
|
@ -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
|
|
|
|
|