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

What is the alternative for 'Database.GetStats()' in MongoDB.Driver 2.4.2?

    • Type: Icon: Task Task
    • Resolution: Works as Designed
    • Priority: Icon: Blocker - P1 Blocker - P1
    • None
    • Affects Version/s: 2.4.2
    • Component/s: API, Documentation
    • Labels:
    • Environment:
      OS : Win 7
      .Net 4.6.1

      In MongoCsharpdriver 1.11.0, Database.GetStats() is available for getting the state of server.
      What is the alternative for the same in MongoDB Driver 2.4.2.

      I have tried with ServerDescription object, but it is always returning as disconnected .During this time,I am able to access collections using the driver.

      Thanks in advance.

            Assignee:
            robert@mongodb.com Robert Stam
            Reporter:
            ummerirshadk@gmail.com Ummer Irshad
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved: