Something similar was introduced for the MongoDB Server with SERVER-64964, however this change was limited to only the server's components. Drivers could also introduce a similar feature to capture and display information when connection establishment exceeds a set threshold.
For example, the server introduced slowConnectionThresholdMillis which defaults to 100ms, and when exceeded will output a log entry that contains details about:
- DNS Resolution Time
- TCP Connection Time
- TLS Handshake Time
- Authentication Time