(self, label, socket)
Set container update count based on label
Set container update count based on label
Set container update count based on label
def update(self, label, socket):
        """Set container update count based on label"""
        if label == "all":
            self.updated_all_containers_gauge.labels(socket=socket).set(self.data_manager.total_updated[socket])
        else:
            self.updated_containers_counter.labels(socket=socket, container=label).inc()

        self.logger.debug("Prometheus Exporter container update counter incremented for %s", label)
def update ( self , label , socket ) : if label == "all" : self . updated_all_containers_gauge . labels ( socket = socket ) . set ( self . data_manager . total_updated [ socket ] ) else : self . updated_containers_counter . labels ( socket = socket , container = label ) . inc ( ) self . logger . debug ( "Prometheus Exporter container update counter incremented for %s" , label )