I am new to PMM and I am trying to troubleshoot my database redo log usage, checkpoint age and InnoDB flushing.
I have installed PMM Server 2 in a docker container and connected it to a remote MySQL server, running MariaDB 10.5 on another container, where I created the required user with the permissions as per documentation states.
Most of MySQL metrics are fetched without issues, however for the ones relating to flushing, I only get “No data”, as on the following screenshot:
I am not an expert with PMM but tried to explore that chart and see it uses “mysql_info_schema_innodb_metrics_buffer_buffer_flush_adaptive_total_pages”. By the name I suppose it should be getting data from information_schema.INNODB_METRICS, by name “buffer_flush_adaptive_total_pages”, which I can fetch from my DB:
[code]MariaDB [information_schema]> select * from innodb_metrics WHERE name=‘buffer_flush_sync_total_pages’ \G;
That can help to see if it is a capture problem or display problem.
You have the data in the database it is still a question whenever this data is being captured from exporter and stored in the PMM database - sometimes timeouts can cause data capture problems - This can be checked with Prometheus Exporter Status dashboard
Thanks for your reply. That “explore” window I already tried going before, that’s where I got the “mysql_info_schema_innodb_metrics_buffer_buffer_flush_adaptive_total_pages” name. However if I try to create a new query and start typing “mysql_info_schema_innodb_”, after this I only have 10 suggestions as on the screenshot below:
My Prometheus Exporter Status looks good aswell, I could even find execution times for “collect.info_schema.innodb_metrics” which I think should be what I am looking for:
Sad to say but the current mysqld_exporter can’t correctly fetch information_schema.innodb_metrics in MariaDB 10.4 and later due to the table format changes.