@processing_app.route('/metrics/')
def retrieve_metrics():
    valid_metrics = _get_valid_metric_options().keys()
    output = json.dumps({'metrics': valid_metrics})
    response.content_type = 'application/json'

    if request.query.callback:
        return '%s(%s)' % (request.query.callback, output)
    return output
Send a single frame. If there is no transport or we're not connected
dataset/ETHPy150Open apache/climate/ocw-ui/backend/processing.py/retrieve_metrics--crossover with--dataset/ETHPy150Open agoragames/haigha/haigha/connection.py/Connection.send_frame