Include Rails framework version in client metadata on initial handshake

XMLWordPrintableJSON

    • Type: Improvement
    • Resolution: Fixed
    • Priority: Major - P3
    • 8.1.12, 9.0.10, 8.0.12, 7.6.1
    • Affects Version/s: None
    • Component/s: None
    • None
    • None
    • Ruby Drivers
    • Not Needed
    • 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?
    • None
    • None
    • None
    • None
    • None
    • None

      Mongoid wraps the Driver handshake metadata already and appends runtime details to the platform field (ex: mongoid-7.0.13, JRuby 9.3.15.0, like Ruby 2.6.8, java, JVM 17.0.15, java1.8, M).

      Given it's very likely Mongoid is being used from within Ruby on Rails, it would be worth capturing the current framework version and appending this to the handshake on client instantiation (ex: "Rails #{Rails.try(:version)}" if defined?(Rails))

            Assignee:
            Dmitry Rybakov
            Reporter:
            Alex Bevilacqua
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved: