QAN on postgres with pg_stat_statements


I configured pmm to run with a postgres target and using pg_stat_statements.
It works for the graphs but I do not have the target on QAN
I also have a Waiting status for Qan postgresql pgstatements agent, in the logs I have
Sending status: WAITING." agentID=/agent_id/297513d8-f10c-46f6-b78a-699528179c76 component=agent-builtin type=qan_postgresql_pgstatements_agent

I don’t see what is missing…
Any help would be highly appreciated

I found this and it works :