For AI agents: this documentation is indexed for you in llms.txt, and all of it in /llms.txt. Every page is also available as markdown: append .md to its address.

Metrics

The Cennso Database extension uses the Prometheus MySQL Server ExporterOpens in a new tab to collect and expose metrics from deployed MySQL database instances.

The mysqld_exporter provides different metric collectors, each responsible for gathering specific categories of data. The exporter does not enable any collector by default, so the Cennso Database extension enables the following collectors:

  • global_status - collects MySQL global status variables
  • global_variables - collects MySQL server configuration variables
  • engine_innodb_status - collects InnoDB storage engine metrics
  • slave_status - collects replication status information
  • binlog_size - collects binary log size and statistics

You can enable or disable collectors using the spec.metricsExporter.collectors configuration option. Setting this option replaces the list above, so the collectors that you do not set are disabled. The Grafana dashboard requires the global_status, global_variables, slave_status, and binlog_size collectors, so disabling any of them leaves some dashboard panels empty.

For a complete list of available collectors and their descriptions, see the collector flags documentationOpens in a new tab in the mysqld_exporter repository.

For more information on how to enable and configure the metrics collector, see the Enable metrics collector deployment guide.

Grafana dashboard

The Cennso Database extension provides a default Grafana dashboard that visualizes the collected metrics. For more information about the available dashboard panels and their interpretation, see the Grafana dashboard document.