def get_stats(request): return methods.get_stats(user_from_request(request), request.matchdict['backend'], request.matchdict['machine'], request.params.get('start'), request.params.get('stop'), request.params.get('step'))
def get_stats(request): return methods.get_stats( user_from_request(request), request.matchdict['backend'], request.matchdict['machine'], request.params.get('start'), request.params.get('stop'), request.params.get('step') )
def get_stats(request): data = methods.get_stats(user_from_request(request), request.matchdict['cloud'], request.matchdict['machine'], request.params.get('start'), request.params.get('stop'), request.params.get('step'), request.params.get('metrics')) data['request_id'] = request.params.get('request_id') return data
def get_stats(request): data = methods.get_stats( user_from_request(request), request.matchdict['backend'], request.matchdict['machine'], request.params.get('start'), request.params.get('stop'), request.params.get('step'), request.params.get('metrics') ) data['request_id'] = request.params.get('request_id') return data