Skip to content

collectors MySQLCollector

Rob Smith edited this page Oct 29, 2012 · 20 revisions

MySQLCollector

Dependencies

  • MySQLdb

Options - Generic Options

Setting Default Description Type
byte_unit byte Default numeric output(s) str
db yourdatabase Database str
enabled False Enable collecting these metrics bool
host localhost Hostname str
innodb False Collect SHOW ENGINE INNODB STATUS str
master False Collect SHOW MASTER STATUS str
measure_collector_time False Collect the collector run time in ms bool
passwd yourpassword Password str
port 3306 Port int
publish Which rows of '[SHOW GLOBAL STATUS](http://dev.mysql.com/doc/refman/5.1/en/show-status.html)' you would like to publish. Leave unset to publish all
slave False Collect SHOW SLAVE STATUS str
user yourusername Username str

Example Output

__EXAMPLESHERE__
Clone this wiki locally