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

XMLWordPrintableJSON

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

      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 Stam
            Reporter:
            Ummer Irshad
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved: