(self)
return config
Returns the default collector settings
Returns the default collector settings
Returns the default collector settings
def get_default_config(self):
        """
        Returns the default collector settings
        """
        config = super(OpenstackSwiftCollector, self).get_default_config()
        config.update({
            'path': 'openstackswift',
            'enable_dispersion_report': False,
            'enable_container_metrics': True,
            # don't use the threaded model with this one.
            # for some reason it crashes.
            'interval': 1200,  # by default, every 20 minutes
        })
        return config
def get_default_config ( self ) : config = super ( OpenstackSwiftCollector , self ) . get_default_config ( ) config . update ( { 'path' : 'openstackswift' , 'enable_dispersion_report' : False , 'enable_container_metrics' : True , # don't use the threaded model with this one. # for some reason it crashes. 'interval' : 1200 , # by default, every 20 minutes } ) return config