Esempio n. 1
0
File: app.py Progetto: 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)
Esempio n. 2
0
File: app.py Progetto: 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)