PFA. We are getting metrics with some gap and we are not able to fix it. Please refer the attached PMM errors and percona metrics dashboard screenshot. Kindly let us know how to fix this issue.
Hi,
The gaps can be for various reasons from PMM to MongoDB side. Which PMM version are you using? And which MongoDB version?
If possible, please download the content below from PMM:
http://<PMM_URL_or_IP-address>/managed/logs.zipAnd attach it. The logs from the client are important as well (/var/log/pmm*)
Please find attached pmm log file.
pmm-server_2020-07-28_18-11.zip (128 KB)
Could you check errors in /var/log/pmm-agent.log on your client machine too?
We couldn’t find pmm-agent.log file anywhere in the client machine. We have checked all client machines too but its not found.
Can you describe how you installed PMM server and the PMM client? Which version are you using?
I installed the PMM server using the below steps,
wget https://repo.percona.com/apt/percona-release_latest.generic_all.debsudo dpkg -i percona-release_latest.generic_all.debsudo docker pull percona/pmm-server:2.9.0
sudo docker create -v /opt/prometheus/data -v /opt/consul-data -v /var/lib/mongodb -v /var/lib/grafana --name pmm-data percona/pmm-server:2.9.0 /bin/true
sudo docker run -d -p 8080:80 -p 443:443 --volumes-from pmm-data --name pmm-server -e METRICS_RESOLUTION=5s -e METRICS_RETENTION=192h -e DISABLE_TELEMETRY=true -e QUERIES_RETENTION=10 --restart always percona/pmm-server:2.9.0