expose 3.0 lock contention metrics in mongostat

XMLWordPrintableJSON

    • Type: Question
    • Resolution: Done
    • Priority: Major - P3
    • 3.1.9
    • Affects Version/s: 3.0.4
    • Component/s: mongostat
    • None
    • Kernel Tools 9 09/18/15, Server Tools A (10/09/15)
    • Needed

      In 3.0 we no longer have db locks, but we have some other metrics we can use to estimate lock contention:
      Percentage of lock acquisitions that had to wait
      serverStatus.locks.Collection.acquireWaitCount.{R,W} / serverStatus.locks.Collection.acquireCount.{R,W}
      Average acquire time per acquisition that waited
      serverStatus.locks.Collection.timeAcquiringMicros.{R,W} / serverStatus.locks.Collection.acquireWaitCount.{R,W}

      They should be exposed in mongostat.

            Assignee:
            Tess Avitabile (Inactive)
            Reporter:
            Alexander Komyagin (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

              Created:
              Updated:
              Resolved: