def get_required_arguments_metricnames(self):
try:<EOL><INDENT>metricnames = self.get_arguments(constants.PARAM_METRICNAME)<EOL>if not metricnames:<EOL><INDENT>raise tornado.web.MissingArgumentError(constants.PARAM_METRICNAME)<EOL><DEDENT>return metricnames<EOL><DEDENT>except tornado.web.MissingArgumentError as e:<EOL><INDENT>raise Exception(e.log_message)<EOL><DEDENT>
Helper function to get metricname arguments.
Notice that it is get_argument"s" variation, which means that this can be repeated.
Raises exception if argument is missing.
Returns a list of metricname arguments