docs: def _get_names(self, collector):
          """Get names of timeseries the collector produces."""
          desc_func = None
          # If there's a describe function, use it.
          try:
              desc_func = collector.describe
          except AttributeError:
              pass
          # Otherwise, if auto describe is enabled use the collect function.
          if not desc_func and self._auto_describe:
              desc_func = collector.collect
  
          if not desc_func:
              return []
  
          result = []
          type_suffixes = {
              'counter': ['_total', '_created'],
              'summary': ['', '_sum', '_count', '_created'],
              'histogram': ['_bucket', '_sum', '_count', '_created'],
              'gaugehistogram': ['_bucket', '_gsum', '_gcount'],
              'info': ['_info'],
          }
          for metric in desc_func():
              for suffix in type_suffixes.get(metric.type, ['']):
                  result.append(metric.name + suffix)
          return result