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

Review TimerStats field names

    XMLWordPrintable

    Details

    • Type: Improvement
    • Status: Closed
    • Priority: Critical - P2
    • Resolution: Incomplete
    • Affects Version/s: None
    • Fix Version/s: None
    • Component/s: Internal Code
    • Labels:

      Description

      Need to look at all the places they are used and see if one set of field names works for all.

      Might be good to allow overriding these names in the constructor for different use cases.

      Currently produces this:

      "getLastError" : {
      	"wtime" : {
      		"num" : 0,
      		"totalMillis" : 0
      	}
      },...
      "network" : {
      	"bytes" : NumberLong(0),
      	"getmores" : {
      		"num" : 0,
      		"totalMillis" : 0
      	},
      	"ops" : NumberLong(0),
      	"readersCreated" : NumberLong(0)
      },
      "oplog" : {
      	"insert" : {
      		"num" : 0,
      		"totalMillis" : 0
      	},
      	"insertBytes" : NumberLong(0)
      },
      "preload" : {
      	"docs" : {
      		"num" : 0,
      		"totalMillis" : 0
      	},
      	"indexes" : {
      		"num" : 0,
      		"totalMillis" : 0
      	}
      }

        Attachments

          Activity

            People

            Assignee:
            scotthernandez Scott Hernandez
            Reporter:
            scotthernandez Scott Hernandez
            Participants:
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Dates

              Created:
              Updated:
              Resolved: