How about monitoring for an external Proxysql container? Using this method above does not work for that because stats and admin cannot remotely login.
I moved your post to a separate thread in order to get more visibility and because it wasn’t related to the initial thread topic.
Can you modify proxysql.cnf? For example I have configured mine to listen on 6032
Then you could forward that to the docker container.
Let me know if this helps, or if you have further questions!