Hi. I followed pmm-client install docs to setup pmm-client on my mysql server. Agent is connected and running.
pmm-admin statusshows following
PMM Client: Connected : true Time drift : -11.990242ms Latency : 693.653µs pmm-admin version: 2.12.0 pmm-agent version: 2.12.0 Agents: /agent_id/46f2d482-bf8b-475e-8fdf-fcb5d44cf7e3 mysqld_exporter Running /agent_id/65a7f216-9cb7-4f34-88e1-d1289a67022b mysql_slowlog_agent Waiting /agent_id/cf5b678d-1033-4e39-82f1-166569cb8979 node_exporter Running /agent_id/dfaabf75-128d-4e15-92b8-d4881e3c3447 vmagent Running
However I don’t see any data in Grafana dashboards until I open ports of mysqld_exporter and node_exporter listening on pmm-client server. I afraid these port requirement is not documented anywhere.
Further investigating I found pmm-admin has –metrics-mode=push flag. I tried this flag without opening ports, but it still didn’t work. I thought this flag was supposed to enable push model instead of prometheus default scrape? or I maybe completely misunderstood this option.
So do I need to open the ports? If yes, let’s document it.
Also it looks like these ports are random?