Uploaded image for project: 'Core Server'
  1. Core Server
  2. SERVER-97475

Integrate with mongocxx monitoring events / driver logs

    • Atlas Streams
    • Fully Compatible
    • Sprint 63, Sprint 64
    • None
    • None
    • None
    • None
    • None
    • None
    • None

      We should integrate with monitoring events from mongocxx to help debug failing atlas connections. Here is one example API we can look at, though we should look around the documentation/code for other sources of debug information. BaaS has similar integration (using Go driver) we can use for inspiration.

      https://mongocxx.org/api/mongocxx-3.9.0/classmongocxx_1_1v__noabi_1_1events_1_1server__closed__event.html

      While we're doing this, see if there's any significant to the message "`serverSelectionTryOnce` set". Do we need to set any additional retry logic in the driver to try selection a server more than once? 

            Assignee:
            andrea.rahmanan@mongodb.com Andrea Rahmanan
            Reporter:
            matthew.normyle@mongodb.com Matthew Normyle
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved:
              None
              None
              None
              None