[JAVA-5076] Add durations to connection pool events Created: 14/Jul/23  Updated: 25/Aug/23  Resolved: 25/Aug/23

Status: Closed
Project: Java Driver
Component/s: CMAP
Affects Version/s: None
Fix Version/s: 4.11.0

Type: New Feature Priority: Unknown
Reporter: PM Bot Assignee: Valentin Kavalenka
Resolution: Done Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Issue Links:
Documented
Issue split
split from DRIVERS-2469 Add durations to connection pool events Implementing
Upstream Changes Summary:

DRIVERS-2469:
https://github.com/mongodb/specifications/pull/1448

  1. ConnectionReadyEvent/ConnectionCheckedOutEvent/ConnectionCheckOutFailedEvent.duration was added.
  2. Tests in source/connection-monitoring-and-pooling/tests/logging were updated.
Backwards Compatibility: Fully Compatible
Documentation Changes: Needed
Documentation Changes Summary:

1. What would you like to communicate to the user about this feature?
2. Would you like the user to see examples of the syntax and/or executable code and its output?
3. Which versions of the driver/connector does this apply to?


 Description   

This ticket was split from DRIVERS-2469, please see that ticket for a detailed description.



 Comments   
Comment by Githook User [ 25/Aug/23 ]

Author:

{'name': 'Valentin Kovalenko', 'email': 'valentin.kovalenko@mongodb.com', 'username': 'stIncMale'}

Message: Add durations to connection pool events (#1166)

JAVA-5076
---------

Co-authored-by: Maxim Katcharov <maxim.katcharov@mongodb.com>
Branch: master
https://github.com/mongodb/mongo-java-driver/commit/2fa9f4928c7badc2b022dfc007ce692e82dfe5cd

Comment by Githook User [ 21/Aug/23 ]

Author:

{'name': 'Valentin Kovalenko', 'email': 'valentin.kovalenko@mongodb.com', 'username': 'stIncMale'}

Message: Add `TimePoint` and use it in `Timeout` (#1164)

This work is needed for JAVA-5076
Branch: master
https://github.com/mongodb/mongo-java-driver/commit/c4662b11279cff3b24855287bea3d597aa3817cf

Generated at Thu Feb 08 09:03:41 UTC 2024 using Jira 9.7.1#970001-sha1:2222b88b221c4928ef0de3161136cc90c8356a66.