code: def get_metric_by_name(self, metric_name, **kwargs):
          
          return self._get_object_by_name(self._METRIC_ENDPOINT_SUFFIX,
                                          metric_name,
                                          **kwargs)
docs: get a metric by name
  
          Args:
              metric_name (string): name of metric
  
          Returns:
              dictionary of response