#NEWLINE# @ base . apimethod #NEWLINE# def metric_names( self , name , page ) : #NEWLINE# #INDENT# '\n        List of known metrics and their value names for the given resource.\n\n        :var name: Filter by metrics name.\n        :vartype name: str\n\n        :var page: Pagination index.\n        :vartype page: int\n        ' #NEWLINE# params = base . get_params ( None , locals ( ) ) #NEWLINE# url = '{0}/metrics.json' . format ( self . get_url ( ) ) #NEWLINE# request = http . Request ( 'GET' , url , params ) #NEWLINE# return ( request , parsers . parse_json )