Example #1
0
File: app.py Project: zerxis/qpanel
def stats_json(name, from_date, to_date):
    real_name = uqpanel.realname_queue_rename(name)
    queue_values = queuelog_data_queue(from_date, to_date, None, real_name)
    data = get_data_queues(name)
    return jsonify(name=name, data=data, values=queue_values)
Example #2
0
File: app.py Project: pathcl/qpanel
def stats_json(name, from_date, to_date):
    real_name = uqpanel.realname_queue_rename(name)
    queue_values = queuelog_data_queue(from_date, to_date, None, real_name)
    data = get_data_queues(name)
    return jsonify(name=name, data=data, values=queue_values)