Is there any way to programatically get a handle on the server RTT? I don’t see any kind of callback that includes current data - tried ServerListener (rtt changes don’t generate an event), ClusterListener(same). I see ServerMonitorListener exists, but that appears to report a single heartbeat, not the calculated average.
Additionally, is there anywhere we can get a handle on which (mongos) server was ultimately selected for execution?
As you might infer, we’re having some issues with server selection appearing to make non-optimal choices and we’re hoping to get some more insight.