def get_category(self, metric):
        tags = ','.join('%s=%s' % (k, v) for k, v in
                        sorted(metric.metric_name.tags.items()))
        return '.'.join(x for x in
                        [self._prefix, metric.metric_name.group, tags] if x)
Return a string category for the metric.
dataset/ETHPy150Open dpkp/kafka-python/kafka/metrics/dict_reporter.py/DictReporter.get_category