qan & grafana are responsing very slow, qan is not logging every query

I have 10 RDS instances on AWS and everything is running fine. But, the response from qan and grafana are very slow. I can’t even open both at a time.

What are the monitoring machine specs? (where you run docker container).
I would recommend a machine with at least 2GB RAM.

Also you may want to look at https://www.percona.com/doc/percona-monitoring-and-management/faq.html#how-to-control-memory-consumption-for-prometheus

It’s AWS EC2 instance with 1CPU, 2GB RAM, 320GB disk.
I checked the status on http://server/prometheus/targets.
Out of all metrics collection resolutions(hr,lr and mr), lr status is UP and rest of all are DOWN.Error is “context deadline exceeded”.