Uploaded image for project: 'Core Server'
  1. Core Server
  2. SERVER-12172

Add finer granularity metrics for serverStatus

    • Type: Icon: Improvement Improvement
    • Resolution: Duplicate
    • Priority: Icon: Major - P3 Major - P3
    • None
    • Affects Version/s: 2.4.8, 2.5.4
    • Component/s: Admin

      Problem:
      db.serverStatus() provides a high level aggregate of command, inserts, updates etc. that occur on a system. This information is transient (ie. reset when the mongod re-starts) but provide a valuable insight on the running system.

      However, the aggregation looses the details of where the operations are occuring, for example that the reads are to Collection X in DB Y, the updates are happening to Collection A on DB B etc.

      Request:
      Provide lower level metrics down to the collection level, for example

      system
      + commands
      -- eval, fsync, getlasterror
      +- database
         -- authenticate
         +- collection
            + command
            -- map reduce, count, distinct, aggregate, move chunk, drop, ensureindex, compact, findandmodify, geoXXX, group, splitchunk, splitvector
            + insert, query, getmore, update, remove
      

      Rationale:
      Getting better insight into the running system will help to diagnose issues more accurately.

            Assignee:
            Unassigned Unassigned
            Reporter:
            alvin Alvin Richards (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

              Created:
              Updated:
              Resolved: