python/ray/autoscaler/_private/aws/cloudwatch/cloudwatch_helper.py
def put_cloudwatch_alarm(self):
        """ put cloudwatch metric alarms read from config """

        data = self._load_config_file("alarm")
        for node_id in self.node_ids:
            for item in data:
                item_out = copy.deepcopy(item)
                self._replace_all_config_variables(
                    item_out,
                    str(node_id),
                    self.cluster_name,
                    self.provider_config["region"],
                )
                self.cloudwatch_client.put_metric_alarm(**item_out)
        logger.info("Successfully put alarms to cloudwatch console")
 put cloudwatch metric alarms read from config 
put cloudwatch metric alarms read from config
put cloudwatch metric alarms read from config
def put_cloudwatch_alarm(self):
        data = self._load_config_file("alarm")
        for node_id in self.node_ids:
            for item in data:
                item_out = copy.deepcopy(item)
                self._replace_all_config_variables(
                    item_out,
                    str(node_id),
                    self.cluster_name,
                    self.provider_config["region"],
                )
                self.cloudwatch_client.put_metric_alarm(**item_out)
        logger.info("Successfully put alarms to cloudwatch console")
def put_cloudwatch_alarm ( self ) : data = self . _load_config_file ( "alarm" ) for node_id in self . node_ids : for item in data : item_out = copy . deepcopy ( item ) self . _replace_all_config_variables ( item_out , str ( node_id ) , self . cluster_name , self . provider_config [ "region" ] , ) self . cloudwatch_client . put_metric_alarm ( ** item_out ) logger . info ( "Successfully put alarms to cloudwatch console" )
put cloudwatch metric alarms read from config
put cloudwatch metric alarms read from config
""" put cloudwatch metric alarms read from config """
self