(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(MySQLCollector, self).get_default_config()
        config.update({
            'path':     'mysql',
            # Connection settings
            'hosts':    [],

            # Which rows of 'SHOW GLOBAL STATUS' you would like to publish.
            # http://dev.mysql.com/doc/refman/5.1/en/show-status.html
            # Leave unset to publish all
            # 'publish': '',

            'slave':    False,
            'master':   False,
            'innodb':   False,
        })
        return config
def get_default_config ( self ) : config = super ( MySQLCollector , self ) . get_default_config ( ) config . update ( { 'path' : 'mysql' , # Connection settings 'hosts' : [ ] , # Which rows of 'SHOW GLOBAL STATUS' you would like to publish. # http://dev.mysql.com/doc/refman/5.1/en/show-status.html # Leave unset to publish all # 'publish': '', 'slave' : False , 'master' : False , 'innodb' : False , } ) return config