(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(SignalfxHandler, self).get_default_config()

        config.update({
            'url': 'https://ingest.signalfx.com/v2/datapoint',
            'batch': 300,
            'filter_metrics_regex': '',
            # Don't wait more than 30 sec between pushes
            'batch_max_interval': 30,
            'auth_token': '',
        })

        return config
def get_default_config ( self ) : config = super ( SignalfxHandler , self ) . get_default_config ( ) config . update ( { 'url' : 'https://ingest.signalfx.com/v2/datapoint' , 'batch' : 300 , 'filter_metrics_regex' : '' , # Don't wait more than 30 sec between pushes 'batch_max_interval' : 30 , 'auth_token' : '' , } ) return config