def get_history_metrics_queue(config):
    q = Queue(os.path.join(config.temboard.home, 'dashboard.q'))
    return q.get_content_all_messages()
Beispiel #2
0
def get_history_metrics_queue(config, _=None):
    q = Queue('%s/dashboard.q' % (config.temboard['home']))
    return q.get_content_all_messages()
Beispiel #3
0
def get_history_metrics_queue(config, _=None):
    q = Queue('%s/dashboard.q' % (config.temboard['home']),
              max_length=(config.plugins['dashboard']['history_length'] + 1),
              overflow_mode='slide')
    return q.get_content_all_messages()