code: def _get_prefixes(self, metric_type):
          
          prefixes = []
          if self._prepend_metric_type:
              prefixes.append(self.METRIC_TYPES[metric_type])
          return prefixes
docs: Get prefixes where applicable
  
          Add metric prefix counters, timers respectively if
          :attr:`prepend_metric_type` flag is True.
  
          :param str metric_type: The metric type
          :rtype: list