(self)
return
Collect stats
Collect stats
Collect stats
def collect(self):
        """
        Collect stats
        """
        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
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