mongostat reports negative values for counters when server first restarts

XMLWordPrintableJSON

    • Type: Bug
    • Resolution: Done
    • Priority: Major - P3
    • None
    • Affects Version/s: 3.0.0-rc6
    • Component/s: mongostat
    • None
    • Environment:
      Linux x64

      When a server monitored with mongostat restarts, and so its counters are reset, the next mongostat line shows negative counter values.

      (FWIW, MMS handles counter resets and overflows by simply discarding the sample whenever there's a "signum" change from the "previous" to "current" value of a counter, or if the difference is negative.)

            Assignee:
            Unassigned
            Reporter:
            John Morales (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated:
              Resolved: