Exemplo n.º 1
0
Arquivo: app.py Projeto: 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)
Exemplo n.º 2
0
Arquivo: app.py Projeto: 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)