(self, value, tags)
The scoreboard is a long string where each character represents the status of a given worker.
        This method parses that string and emits the corresponding metrics
The scoreboard is a long string where each character represents the status of a given worker.
        This method parses that string and emits the corresponding metrics
The scoreboard is a long string where each character represents the status of a given worker . This method parses that string and emits the corresponding metrics
def _submit_scoreboard(self, value, tags):
        """The scoreboard is a long string where each character represents the status of a given worker.
        This method parses that string and emits the corresponding metrics"""
        for _key, metric in self.SCOREBOARD_KEYS.items():
            self.gauge(metric, value.count(_key), tags=tags)

        self.gauge(self.GAUGES['MaxWorkers'], len(value), tags=tags)
        self.log.debug("Scoreboard: %s", value)
def _submit_scoreboard ( self , value , tags ) : for _key , metric in self . SCOREBOARD_KEYS . items ( ) : self . gauge ( metric , value . count ( _key ) , tags = tags ) self . gauge ( self . GAUGES [ 'MaxWorkers' ] , len ( value ) , tags = tags ) self . log . debug ( "Scoreboard: %s" , value )