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?

    XMLWordPrintableJSON

Details

    • Icon: Task Task
    • Resolution: Works as Designed
    • Icon: Blocker - P1 Blocker - P1
    • None
    • 2.4.2
    • API, Documentation
    • OS : Win 7
      .Net 4.6.1

    Description

      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.

      Attachments

        Activity

          People

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

            Dates

              Created:
              Updated:
              Resolved: