def metric_get(self, enabled=False, custom=False):
        """
        Returns a metric definition identified by name
        :param enabled: Return only enabled metrics
        :param custom: Return only custom metrics
        :return Metrics:
        """
        self.path = 'v1/metrics?enabled={0}&{1}'.format(enabled, custom)
        self._call_api()
        self._handle_results()
        return self.metrics
def metric_get(self, enabled=False, custom=False):
        """
        Returns a metric definition identified by name
        :param enabled: Return only enabled metrics
        :param custom: Return only custom metrics
        :return Metrics:
        """
        self.path = 'v1/metrics?enabled={0}&{1}'.format(enabled, custom)
        self._call_api()
        self._handle_results()
        return self.metrics
def metric_get ( self , enabled = False , custom = False ) : self . path = 'v1/metrics?enabled={0}&{1}' . format ( enabled , custom ) self . _call_api ( ) self . _handle_results ( ) return self . metrics
Returns a metric definition identified by name
        :param enabled: Return only enabled metrics
        :param custom: Return only custom metrics
        :return Metrics:
Returns a metric definition identified by name : param enabled : Return only enabled metrics : param custom : Return only custom metrics : return Metrics :