Esempio n. 1
0
    def setUp(self):
        config = get_collector_config(
            'MySQLCollector', {
                'slave': 'True',
                'master': 'True',
                'innodb': 'True',
                'hosts': ['root:@localhost:3306/mysql'],
                'interval': '1',
            })

        self.collector = MySQLCollector(config, None)