Hey, can someone help me with setting up monitoring for the xtradb cluster?
I am following the documentation for using PMM: https://www.percona.com/blog/2020/07/23/using-percona-kubernetes-operators-with-percona-monitoring-and-management/
I have deployed the server using: helm install monitoring percona/pmm-server --set platform=kubernetes --version 2.7.0 --set “credentials.password=supa|^|pazz”
- the server is deployed correctly.
- but when I enable pmm in deploy/cr.yaml, all the pxc pods come up with 1/2 ready state, getting this error in pmm-client:
Invalid PMM Server URL "https://admin:supa||pazz@monitoring-service/": parse [https://admin:supa](https://admin:supa/)||pazz@monitoring-service/: net/url: invalid userinfo.
OR
SRC_ADDR=x.x.x.x- CLIENT_NAME=cluster1-pxc-1
++ curl -k -s -o /dev/null -w ‘%{http_code}’ ‘https://admin:supa|^|pazz@monitoring-service/v1/readyz’ - SERVER_RESPONSE_CODE=000
- CLIENT_NAME=cluster1-pxc-1
- I do have the monitoring-service in pxc namespace, and I can even curl to it:
curl https://<monitoring-service-ip>/v1/readyz -k -vvv
, it gives me a 200 response.
one question:
Is there any way, I could simply get the prometheus metrics, and instead of using the PMM, use my own grafana instance?