[COMPASS-5032] Fill out connectivity logging Created: 25/Aug/21  Updated: 29/Oct/23  Resolved: 16/Sep/21

Status: Closed
Project: Compass
Component/s: None
Affects Version/s: None
Fix Version/s: 1.29.4

Type: Task Priority: Major - P3
Reporter: Anna Henningsen Assignee: Anna Henningsen
Resolution: Fixed Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Issue Links:
Depends
depends on COMPASS-5031 Create compass-logging helper package... Closed
is depended on by COMPASS-5034 Full log coverage Closed
Epic Link: COMPASS-4361
Story Points: 3
Documentation Changes: Not Needed
Sprint: Iteration Kampala, Iteration Lutz

 Description   

One major area in which we expect logging to be helpful will be connectivity. We have already received positive feedback on the logging data provided by mongosh in this area. Consequently, we will at least log the following data to match mongosh’s logging in this area:

  • The Compass version, driver version, connection string, and MongoClient options that are used once the MongoClient is created
  • Server heartbeat failures and successes
  • As long as Compass does manual SRV resolution: The before/after state of the SRV resolution, and errors if the SRV resolution fails


 Comments   
Comment by Githook User [ 23/Sep/21 ]

Author:

{'name': 'Anna Henningsen', 'email': 'anna.henningsen@mongodb.com', 'username': 'addaleax'}

Message: feat: fill out connectivity logging COMPASS-5032 (#2457)

Fill out everything that we definitely want to log regarding
connectivity.

Also:

Comment by Githook User [ 16/Sep/21 ]

Author:

{'name': 'Anna Henningsen', 'email': 'anna.henningsen@mongodb.com', 'username': 'addaleax'}

Message: feat: fill out connectivity logging COMPASS-5032 (#2457)

Fill out everything that we definitely want to log regarding
connectivity.

Also:

Comment by Githook User [ 16/Sep/21 ]

Author:

{'name': 'Anna Henningsen', 'email': 'anna@addaleax.net', 'username': 'addaleax'}

Message: feat: fill out connectivity logging COMPASS-5032

Fill out everything that we definitely want to log regarding
connectivity.

Also:

Generated at Wed Feb 07 22:38:12 UTC 2024 using Jira 9.7.1#970001-sha1:2222b88b221c4928ef0de3161136cc90c8356a66.