Collect Sidekiq metrics
        :return:

def collect(self):
        """
        Collect Sidekiq metrics
        :return:
        """
        if redis is None:
            self.log.error('Unable to import module redis')
            return {}

        try:
            for redis_client, port, db in self.get_redis_client():
                try:
                    self.publish_queue_length(redis_client, port, db)
                    self.publish_schedule_length(redis_client, port, db)
                    self.publish_retry_length(redis_client, port, db)
                except Exception as execption:
                    self.log.error(execption)
        except Exception as execption:
            self.log.error(execption)