(self, socket)
Set number of containers being monitoring with a gauge
Set number of containers being monitoring with a gauge
Set number of containers being monitoring with a gauge
def set_monitored(self, socket):
        """Set number of containers being monitoring with a gauge"""
        self.monitored_containers_gauge.labels(socket=socket).set(self.data_manager.monitored_containers[socket])
        self.logger.debug("Prometheus Exporter monitored containers gauge set to %s",
                          self.data_manager.monitored_containers[socket])
def set_monitored ( self , socket ) : self . monitored_containers_gauge . labels ( socket = socket ) . set ( self . data_manager . monitored_containers [ socket ] ) self . logger . debug ( "Prometheus Exporter monitored containers gauge set to %s" , self . data_manager . monitored_containers [ socket ] )