I’ve instaled a brand new pmm-server following the steps for a docker deploy. But I cant see the pmm-server metricss. Just a error “Unknown error during query transaction. Please check JS console logs.” in left-top of dashboards. Its a GCP Compute Machine.
What do I miss?
Hi @AND thank you for posting to the Percona forums!
I’ve not yet seen that case where PMM Server isn’t able to display its own metrics. Can you see metrics from other hosts you have configured?
Please share with us the logs from the system - you can access them via the PMM menu at the top right and going to PMM Settings → Download logs.
Or you can get a shell inside the container and inspect the logs directly:
docker exec -it pmm-server bash
cd /srv/logs
In here I would start with grafana.log, or just tail them all and try to reload the dashboard to see what entries of interest are logged. Please share here and we’ll try to help you out!
Checked all logfiles and dont found any error message logs.
grafana.log just have commom grafana infor about restart.
But one entry looks awkard for me: t=2021-05-07T16:54:56+0000 lvl=info msg="HTTP Server Listen" logger=http.server address=[::]:3000 protocol=http subUrl=/graph socket=
addres dont have any ip?
I also have registered a node in this machine, and also dont have received any metrics.
Hi @AND
Is your server enabled for IPv6 only? i.e. you haven’t intentionally disabled IPv4?
Since you have registered nodes but aren’t seeing any graphs being populated, can you share then the contents of the client logs? These will be logged to syslog.
You do not need any firewall rules to be additionally configured for local metrics - these are actually scraped from within the pmm-server container over localhost
Regarding syslog - if you are using Ubuntu then look in /var/log/syslog and with RHEL look in /var/log/messages
First it was a problem with the docker user, some problem with the docker configuration did not create it. Creating and making the “post-installation” docker solved a problem.
Another was a firewall rule for VPC traffic, which was not allowed, we have to allow the machine to reach them.