[DRIVERS-2580] Support server selection events Created: 24/Mar/23  Updated: 29/Sep/23

Status: Backlog
Project: Drivers
Component/s: Server Selection
Fix Version/s: None

Type: New Feature Priority: Unknown
Reporter: Jeffrey Yemin Assignee: Unassigned
Resolution: Unresolved Votes: 0
Labels: alex+, jeff+
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Epic Link: Client Side Tracing
Driver Changes: Needed
Quarter: FY24Q4

 Description   

Summary

Add events to monitor server selection.

Motivation

Who is the affected end user?

Primarily users or third party tooling providers that want to better understand MongoDB driver operational behavior in production environments.

How does this affect the end user?

End users don't currently have a way to monitor or create time series views of time spent in server selection

How likely is it that this problem or use case will occur?

Most applications experience server selection issues at various times in their life span.

Is this issue urgent?

It's not urgent, but will help in a larger story around providing comprehensive time series diagnostic data for client behavior.

Is this ticket required by a downstream team?

No

Is this ticket only for tests?

No

Acceptance Criteria

  • API for server selection events, including event names and properties
  • Unified tests


 Comments   
Comment by Patrick Freed [ 10/Apr/23 ]

No objections from me, I think this sounds like a good idea. Any thoughts colby.pike@mongodb.com?

Comment by Patrick Freed [ 27/Mar/23 ]

These events should coincide with the log messages: https://github.com/mongodb/specifications/pull/1341

Comment by Patrick Freed [ 27/Mar/23 ]

jeff.yemin@mongodb.com Since there's already a Quarter assigned to this ticket, do we as spec owners still need to triage this? Or can we just move it to the backlog?

cc colby.pike@mongodb.com 

Generated at Thu Feb 08 08:25:55 UTC 2024 using Jira 9.7.1#970001-sha1:2222b88b221c4928ef0de3161136cc90c8356a66.