I have installed PMM server using docker (version 2.23.0).
My RDS engine is MySQL Community and version 8.0.25.
I followed Percona Monitoring and Management for setting up RDS instance in PMM.
I am able to see MySQL related metrics but OS metrics are missing.
I have enabled enhanced monitoring for RDS and I have used IAM role with the policy mentioned in the doc.
What is the issue? Is it because the engine is MySQL Community?
The issue is that the PMM agent does not run on the same instance as your RDS, thus PMM cannot gather the OS metrics. Compare this to MySQL running on an EC2 instance; The PMM agent runs on that instance and can read OS metrics + MySQL metrics. RDS is a hosted solution and thus you cannot run other programs at the OS level.
But as suggested in one comment at Missing many system level metrics in PMM server for RDS Aurora MySQL RDS instances can get OS metrics.
I can see OS metrics in Grafana and that also suggests
no pmm-agent running on this node in
System Summary same as my case.
The linked post is Aurora and that’s not what you are running. It is possible that RDS MySQL does not expose these metrics but RDS Aurora does. I will see if someone from the PMM team can confirm this.
The documentation doesn’t mention anything about different behaviour for different engines.
If that is the case then how do I get the OS metrics for RDS MySQL?
I have attached IAM role on the PMM server host. I had added the first remote RDS instance without passing access-key/secret-access-key. I was missing OS metrics then.
Now I created an IAM user and when I added another remote RDS instance after passing access-key/secret-access-key (same underlying IAM policy as the role) I am able to see OS metrics.
This is a weird behaviour, anyways I am able to get this working.
Hi, I would love to know if there is a plan on making this work with IAM role and not using secret and access key.
I also opened a jira ticket about this