Uploaded image for project: 'C# Driver'
  1. C# Driver
  2. CSHARP-382

MongoServer should allow introspection of exising servers

    • Type: Icon: New Feature New Feature
    • Resolution: Done
    • Priority: Icon: Major - P3 Major - P3
    • 1.4
    • Affects Version/s: 1.3.1
    • Component/s: None
    • None

      I would like to ask to add a method to get all created servers, to allow run-time diagnostics, i.e. obtaining a list of all created servers, then accessing all instances, then checking connection pool limits, etc.

      public static void GetAllServers() {
      lock (staticLock)

      { return servers.Values.ToList(); }

      }

            Assignee:
            robert@mongodb.com Robert Stam
            Reporter:
            onyxmaster Aristarkh Zagorodnikov
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Created:
              Updated:
              Resolved: