(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(MemcachedCollector, self).get_default_config()
        config.update({
            'path':     'memcached',

            # Which rows of 'status' you would like to publish.
            # 'telnet host port' and type stats and hit enter to see the list of
            # possibilities.
            # Leave unset to publish all
            # 'publish': ''

            # Connection settings
            'hosts': ['localhost:11211']
        })
        return config
def get_default_config ( self ) : config = super ( MemcachedCollector , self ) . get_default_config ( ) config . update ( { 'path' : 'memcached' , # Which rows of 'status' you would like to publish. # 'telnet host port' and type stats and hit enter to see the list of # possibilities. # Leave unset to publish all # 'publish': '' # Connection settings 'hosts' : [ 'localhost:11211' ] } ) return config