def collect(self):
        for path in self._get_socket_paths():
            self.log.debug('checking %s', path)
            counter_prefix = self._get_counter_prefix_from_socket_name(path)
            stats = self._get_stats_from_socket(path)
            self._publish_stats(counter_prefix, stats)
        return
Existing items are not duplicated.
dataset/ETHPy150Open BrightcoveOS/Diamond/src/collectors/ceph/ceph.py/CephCollector.collect--crossover with--dataset/ETHPy150Open edgewall/trac/trac/ticket/tests/batch.py/BatchModifyTestCase.test_change_list_add_no_duplicates