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

Need to get the server name from which the connections are coming to Mongo

    • Type: Icon: Improvement Improvement
    • Resolution: Done
    • Priority: Icon: Trivial - P5 Trivial - P5
    • None
    • Affects Version/s: None
    • Component/s: Diagnostics
    • None
    • None
    • 0
    • None
    • None
    • None
    • None
    • None
    • None

      Currently db.serverStatus().connections provides the number of connections that are coming to Mongo but there is no way we can determine from where they are coming. For Example,

      > db.serverStatus().connections

      { "current" : 2, "available" : 202, "totalCreated" : NumberLong(2) }

      >

      Currently, there are two connections but I cant determine from where they are coming. It would be great if there is an enhancement on this part.

            Assignee:
            Unassigned Unassigned
            Reporter:
            srivatsa2000 Srivatsa N
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

              Created:
              Updated:
              Resolved: