Logical replication monitoring is a pain, especially 'sync' state
I would be good to determine total size of all relations going through 'sync' stage. For that we connections to both master and replica (because state per relation information is preserved on replica)