Dears.
Having an issue with pmm-agent and proxysql exporter
Pmm-agent is excessively logging en error in message log, causing log files growth.
Error is:
Feb 6 16:48:57 hostname pmm-agent[800105]: time="2024-02-06T16:48:57.876+01:00" level=error msg="ts=2024-02-06T15:48:57.876Z caller=exporter.go:202 level=error msg=\"Error scraping for collect.runtime_mysql_servers\"" agentID=/agent_id/e00df7e2-3a57-4ff1-a036-c0e5015d443b component=agent-process type=proxysql_exporter
same error. mysql pmm-client version is 2.40.1. I found that it is because the admin-stats_credentials user which is pmm doc suggested is not allow to query runtime_mysql_servers. I think we should update the doc
where username and password are credentials for the administration interface of the monitored ProxySQL instance. You should configure a read-only account for monitoring using the admin-stats_credentials variable in ProxySQL