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

Add finer granularity metrics for serverStatus

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Closed
    • Major - P3
    • Resolution: Duplicate
    • 2.4.8, 2.5.4
    • None
    • Admin

    Description

      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.

      Attachments

        Issue Links

          Activity

            People

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

              Dates

                Created:
                Updated:
                Resolved: