How to have QAN working with HA PMM and external postgres

We are looking at deploying the HA PMM route and as well utilizing external PostgreSQL/Victoria metrics.

We have a running instance but noticed that the QAN part is not working.

Currently we have agents setup for mongo instances.

We are seeing services are in status running . As well as the
Qan mongodb profiler agent, shows to be running.

Is there anything we can start looking on our end to get QAN dashboard going.

The only other thing we can see is that the postgres agent is not running.
This was disabled as we don’t want to have pmagent looking at all the postgres external databases.

Is the agent needed to register from PMM end to postgresql to be able to do the QAN end?

Thanks

Hi @rodrigoM,
The QAN feature of PMM uses a Clickhouse database for storing query data. If the PMM agent is running on your mongo databases, it should be collecting queries and forwarding them to PMM Server which stores them into the local clickhouse database. Ensure your HA setup includes a Clickhouse installation.