def importer_depth_rrd(): """Add these counts to the rrd graph""" rrd = ImportQueueDepth( ini.get('rrd_data').format(here=HERE), ini.get('rrd_graphs').format(here=HERE)) rrd.mark(datetime.now(), ImportQueueMgr.size()) rrd.update()
def importer_depth_rrd(): """Add these counts to the rrd graph""" rrd = ImportQueueDepth( ini.get('rrd_data').format(here=HERE), ini.get('rrd_graphs').format(here=HERE)) rrd.mark( datetime.now(), ImportQueueMgr.size() ) rrd.update()
def count_importer_depth(): """Mark how deep the importer queue is at the moment""" total = ImportQueueMgr.size() stat = StatBookmark(attrib=IMPORTER_CT, data=total) DBSession.add(stat)