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

        config.update({
            'hostname': 'localhost',
            'port': 8086,
            'ssl': False,
            'username': 'root',
            'password': 'root',
            'database': 'graphite',
            'batch_size': 1,
            'cache_size': 20000,
            'time_precision': 's',
        })

        return config
def get_default_config ( self ) : config = super ( InfluxdbHandler , self ) . get_default_config ( ) config . update ( { 'hostname' : 'localhost' , 'port' : 8086 , 'ssl' : False , 'username' : 'root' , 'password' : 'root' , 'database' : 'graphite' , 'batch_size' : 1 , 'cache_size' : 20000 , 'time_precision' : 's' , } ) return config