<SYSTEM_TASK:>
Solve the following problem using Python, implementing the functions described below, one line at a time
<END_TASK>
<USER_TASK:>
Description:
 def get_metric_by_name(self, metric_name, **kwargs):
 """ get a metric by name Args: metric_name (string):
 name of metric Returns: dictionary of response """

        return self._get_object_by_name(self._METRIC_ENDPOINT_SUFFIX,
                                        metric_name,
                                        **kwargs)