(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(BindCollector, self).get_default_config()
        config.update({
            'host': 'localhost',
            'port': 8080,
            'path': 'bind',
            # Available stats:
            # - resolver (Per-view resolver and cache statistics)
            # - server (Incoming requests and their answers)
            # - zonemgmt (Requests/responses related to zone management)
            # - sockets (Socket statistics)
            # - memory (Global memory usage)
            'publish': [
                'resolver',
                'server',
                'zonemgmt',
                'sockets',
                'memory',
            ],
            # By default we don't publish these special views
            'publish_view_bind': False,
            'publish_view_meta': False,
        })
        return config
def get_default_config ( self ) : config = super ( BindCollector , self ) . get_default_config ( ) config . update ( { 'host' : 'localhost' , 'port' : 8080 , 'path' : 'bind' , # Available stats: # - resolver (Per-view resolver and cache statistics) # - server (Incoming requests and their answers) # - zonemgmt (Requests/responses related to zone management) # - sockets (Socket statistics) # - memory (Global memory usage) 'publish' : [ 'resolver' , 'server' , 'zonemgmt' , 'sockets' , 'memory' , ] , # By default we don't publish these special views 'publish_view_bind' : False , 'publish_view_meta' : False , } ) return config