Uploaded image for project: 'Python Driver'
  1. Python Driver
  2. PYTHON-5028

Allow Instantiated MongoClients to Send Client Metadata On-Demand

    • Type: Icon: Task Task
    • Resolution: Unresolved
    • Priority: Icon: Unknown Unknown
    • None
    • Affects Version/s: None
    • Component/s: None
    • Python Drivers
    • Hide

      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?

      Show
      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?

      MongoDB’s handshake protocol was designed in 2016 to allow client metadata to be recorded in a mongos or mongod log about the environment an application was connecting from. This was expanded in 2019 to support capturing additional details about libraries that wrap MongoDB’s drivers - such as ODMs or framework integrations.

      This expansion was sufficient for scenarios where a MongoClient was being instantiated directly within the wrapping library or integration, however when those environments instead take an instance of a MongoClient as a parameter, there is no way to record further metadata by (re)sending the initial handshake.

            Assignee:
            Unassigned Unassigned
            Reporter:
            shubham.ranjan@mongodb.com Shubham Ranjan
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated: