Query Analytics doesn't works with pg_stat_monitor

Hello @Jyoti_Rajai

To check what the issue I would suggest checking pmm-agent logs which you will find inside pmm-server logs.

You can get PMM Server logs with either of these methods:

Direct download

In a browser, visit https://<address-of-your-pmm-server>/logs.zip.

From Help menu

  1. Select HelpPMM Logs.
  2. Click PMM Logs to retrieve PMM diagnostics data which can be examined and shared with our support team should you need help.

Here reference of similar issue PostgreSQL Server not visible in QAN

Also please make sure following steps configured for pg_stat_monitor configuration.