(self)
return config
Return the default config for the handler
Return the default config for the handler
Return the default config for the handler
def get_default_config(self):
        """
        Return the default config for the handler
        """
        config = super(cloudwatchHandler, self).get_default_config()

        config.update({
            'region': 'us-east-1',
            'collector': 'loadavg',
            'metric': '01',
            'namespace': 'MachineLoad',
            'name': 'Avg01',
            'unit': 'None',
            'collect_by_instance': True,
            'collect_without_dimension': False
        })

        return config
def get_default_config ( self ) : config = super ( cloudwatchHandler , self ) . get_default_config ( ) config . update ( { 'region' : 'us-east-1' , 'collector' : 'loadavg' , 'metric' : '01' , 'namespace' : 'MachineLoad' , 'name' : 'Avg01' , 'unit' : 'None' , 'collect_by_instance' : True , 'collect_without_dimension' : False } ) return config