Skip to content

collectors MySQLCollector

Rob Smith edited this page Jul 13, 2012 · 20 revisions

MySQLCollector

Dependencies

  • MySQLdb

Options

  • Generic Options
  • slave: Collect SHOW SLAVE STATUS
  • byte_unit: Default numeric output(s)
  • passwd: Password
  • db: Database
  • enabled: Enable collecting these metrics
  • publish: Which rows of 'SHOW GLOBAL STATUS' you would like to publish. Leave unset to publish all
  • host: Hostname
  • innodb: Collect SHOW ENGINE INNODB STATUS
  • user: Username
  • master: Collect SHOW MASTER STATUS
  • port: Port

Example Output

All keys are prefixed with nodes.hostname by default

Clone this wiki locally