I’ve setup PMM on a server, and added a client, which correctly shows up under PMM inventory - but nothing appears in the MYSQL overview, and it doesn’t show on the prometheus scrape list.
Documentation refers to “pmm-admin check-network” but that just errors out with:
wiki mysql # pmm-admin check-network
pmm-admin: error: expected command but got "check-network", try --help
pmm-admin list shows:
wiki mysql # pmm-admin list
Service type Service name Address and port Service ID
MySQL wiki.example.com-mysql 127.0.0.1:3306 /service_id/cbff4c44-2f09-49fb-a0cd-273c4093ee43
Agent type Status Metrics Mode Agent ID Service ID
pmm_agent Connected /agent_id/c49e2a69-33fc-4ddd-9e0f-ec02b7bc5ad8
node_exporter Running push /agent_id/a6ecf473-cf6a-441c-853e-1bc630e96870
mysqld_exporter Running push /agent_id/6b9eb3bd-5989-4dc2-b408-a579e1edb933 /service_id/cbff4c44-2f09-49fb-a0cd-273c4093ee43
mysql_slowlog_agent Running /agent_id/a3706303-1471-4150-8772-1aacbc83ccc3 /service_id/cbff4c44-2f09-49fb-a0cd-273c4093ee43
vmagent Running push /agent_id/8626cb6f-e2d4-4bd1-a1af-43dc6b3f3a72
Running curl from either the server or the client gets a large dump of data:
curl -k -u pmm:/agent_id/6b9eb3bd-5989-4dc2-b408-a579e1edb933 http://wiki.example.com:42002/metrics