I’ve added 4 client - 3 modes of PXC and one node of mariadb. OS and mysql metrics show up for all the hosts but no query analytics. On the qan page I get this message for mariadb “There is no data for the selected MySQL instance, time range or search query”. For the PXC nodes I get this message “QAN API error: “MySQL Query Analytics configuration not found”.
Check the /var/log/qan-api.log file in docker container for more information.”
[root@mysql-cluster2 data]# pmm-admin list
pmm-admin 1.0.4
PMM Server | 192.168.12.92
Client Name | mysql-cluster2
Client Address | 192.168.12.66
Service manager | unix-systemv
SERVICE TYPE NAME CLIENT PORT RUNNING DATA SOURCE OPTIONS
linux:metrics mysql-cluster2 42000 YES -
mysql:queries mysql-cluster2 42001 YES root:@unix(/var/lib/mysql/mysql.sock) query_source=slowlog
mysql:metrics mysql-cluster2 42002 YES root:@unix(/var/lib/mysql/mysql.sock)
[root@mysql-cluster3 ~]# pmm-admin list
pmm-admin 1.0.4
PMM Server | 192.168.12.92
Client Name | mysql-cluster3
Client Address | 192.168.12.67
Service manager | unix-systemv
SERVICE TYPE NAME CLIENT PORT RUNNING DATA SOURCE OPTIONS
linux:metrics mysql-cluster3 42000 YES -
mysql:queries mysql-cluster3 42001 YES root:@unix(/var/lib/mysql/mysql.sock) query_source=slowlog
mysql:metrics mysql-cluster3 42002 YES root:@unix(/var/lib/mysql/mysql.sock)
[root@mysql-cluster1 ~]# pmm-admin list
pmm-admin 1.0.4
PMM Server | 192.168.12.92
Client Name | mysql-cluster1
Client Address | 192.168.12.65
Service manager | unix-systemv
SERVICE TYPE NAME CLIENT PORT RUNNING DATA SOURCE OPTIONS
linux:metrics mysql-cluster1 42000 YES -
mysql:queries mysql-cluster1 42001 YES root:@unix(/var/lib/mysql/mysql.sock) query_source=slowlog
mysql:metrics mysql-cluster1 42002 YES root:@unix(/var/lib/mysql/mysql.sock)
[root@pmm-dev-noc01 vmware-tools-distrib]# pmm-admin list
pmm-admin 1.0.4
PMM Server | 192.168.12.92
Client Name | pmm-dev-noc01
Client Address | 192.168.12.92
Service manager | linux-systemd
SERVICE TYPE NAME CLIENT PORT RUNNING DATA SOURCE OPTIONS
linux:metrics pmm-dev-noc01 42000 YES -
mysql:queries pmm-dev-noc01 42001 YES root:@tcp(localhost:3306) query_source=slowlog
mysql:metrics pmm-dev-noc01 42002 YES root:@tcp(localhost:3306)
I’ve checked that the slowlog is collecting queries, but nothing shows up on the qan page.
Thanks.