Description:
My PMM MySQL Table Details not showing
Steps to Reproduce:
Ive setup a number of ppm clients connecting to my docker deployed PMM server, sees below:
yum install -y pmm2-client
pmm-admin config --server-insecure-tls --server-url=https://admin:admin@172.x.x.x
Version:
2.41.1
Logs:
- Admin Status:
Agent ID : /agent_id/c32f7d5a-cb2c-4401-bfe3-62072d1968ff
Node ID : /node_id/e125deaa-04a5-4eb1-a3d4-1c98cf8ed4d5
Node name: ppm_host
PMM Server:
URL : https://172.x.x.x:443/
Version: 2.41.0
PMM Client:
Connected : true
Time drift : 561.658µs
Latency : 763.362µs
Connection uptime: 100
pmm-admin version: 2.41.0
pmm-agent version: 2.41.0
Agents:
/agent_id/3c49d6d1-af87-45ce-914d-fb2f29ed6e86 vmagent Running 42000
/agent_id/9113b2ba-f081-408b-bb95-72e7dbb1dedf node_exporter Running 42001
- Create DB User on MySQL Instance (Percona 8.0.34)
CREATE USER IF NOT EXISTS 'pmm'@'127.0.0.1' IDENTIFIED BY 'admin' WITH MAX_USER_CONNECTIONS 10;
GRANT SELECT, PROCESS, REPLICATION CLIENT, RELOAD, BACKUP_ADMIN ON *.* TO 'pmm'@'127.0.0.1';
SET PERSIST innodb_monitor_enable = ALL;
-
pmm-admin add mysql --username=pmm --password=admin name 127.0.0.1:3311 --query-source=perfschema --disable-tablestats-limit=0
pmm-admin list
Service type Service name Address and port Service ID
MySQL name 127.0.0.1:3313 /service_id/54bf3655-f6bc-4611-8583-7e37a9ec1e59
Agent type Status Metrics Mode Agent ID Service ID Port
pmm_agent Connected /agent_id/54bf3655-f6bc-4611-8583-7e37a9ec1e59 0
node_exporter Running push /agent_id/745537ed-3b88-4502-b2be-71510de6dd85 42001
mysqld_exporter Running push /agent_id/d141b953-1e02-4c71-8c99-b3687429f550 /service_id/54bf3655-f6bc-4611-8583-7e37a9ec1e59 42002
mysql_perfschema_agent Running /agent_id/279dd54f-7339-4f4e-bcf5-10c405404a70 /service_id/54bf3655-f6bc-4611-8583-7e37a9ec1e59 0
vmagent Running push /agent_id/35a1975e-77de-4250-a6b5-116deb6af324 42000
Expected Result:
for me to see MySQL Table data on PMM Dash
Actual Result:
The data existed before, we had to re-install the agents and the data disappeared on my dashboards.
Additional Information:
None