Hi @psvo There is no direct metric that can help us to create an alert for PgBouncer.
There are 2 things that can be tried
- Azure Network Watcher connection monitor. as mentioned by @Maxim Sergeev This can be used to monitor the port 6432
- We can try creating the query and that can run in Azure diagnostics. The query can run on a regular basis and will generate an alert when the connection to PgBouncer is failing.
Please let me know if you need any further information.
Regards
Geetha