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

request for journaling/dur stats that are not reset in db.serverStatus

    Details

      Description

      See https://groups.google.com/forum/#!topic/mongodb-dev/kAu1HTu5sq0. The journaling/dur stats in db.serverStatus() are counters from the last 3 (or maybe from the 3 seconds prior to that). While it is convenient to get recent stats for monitoring this creates problems for external monitoring.
      1) now I need to read the stat once per 3 second interval to avoid missing a sample
      2) but I don't want to read the data twice within the same 3 second interval

      My request is for a new set of counters displayed by db.serverStatus() that are journaling/dur stats which don't get reset every 3 seconds

        Activity

        Hide
        dwight_10gen Dwight Merriman added a comment -

        the only reason it is that reason is historical – those stats predate a lot of the others and the point-in-time when it was decide to do the cumulative style.

        it would be better if they were like everything else

        so the only thing impeding changing it would be backward compatibility. there would need to be some plan and analysis of how much it would mess up existing readers of the stats...

        Show
        dwight_10gen Dwight Merriman added a comment - the only reason it is that reason is historical – those stats predate a lot of the others and the point-in-time when it was decide to do the cumulative style. it would be better if they were like everything else so the only thing impeding changing it would be backward compatibility. there would need to be some plan and analysis of how much it would mess up existing readers of the stats...
        Hide
        eliot Eliot Horowitz added a comment -

        Easy to duplicate them with a new field to make transition easy.

        Show
        eliot Eliot Horowitz added a comment - Easy to duplicate them with a new field to make transition easy.
        Hide
        dwight_10gen Dwight Merriman added a comment -

        maybe there is a new section called "journal" and one day "dur" goes away. "dur" was a suboptimal name anyway

        Show
        dwight_10gen Dwight Merriman added a comment - maybe there is a new section called "journal" and one day "dur" goes away. "dur" was a suboptimal name anyway

          People

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

            Dates

            • Created:
              Updated: