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?

    XMLWordPrintable

    Details

    • Type: Task
    • Status: Closed
    • Priority: Blocker - P1
    • Resolution: Works as Designed
    • Affects Version/s: 2.4.2
    • Fix Version/s: None
    • Component/s: API, Documentation
    • Labels:
    • Environment:
      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

            • Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: