(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(ElasticSearchCollector, self).get_default_config()
        config.update({
            'host':           '127.0.0.1',
            'port':           9200,
            'user':           '',
            'password':       '',
            'instances':      [],
            'scheme':         'http',
            'path':           'elasticsearch',
            'stats':          ['jvm', 'thread_pool', 'indices'],
            'logstash_mode': False,
            'cluster':       False,
        })
        return config
def get_default_config ( self ) : config = super ( ElasticSearchCollector , self ) . get_default_config ( ) config . update ( { 'host' : '127.0.0.1' , 'port' : 9200 , 'user' : '' , 'password' : '' , 'instances' : [ ] , 'scheme' : 'http' , 'path' : 'elasticsearch' , 'stats' : [ 'jvm' , 'thread_pool' , 'indices' ] , 'logstash_mode' : False , 'cluster' : False , } ) return config