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

Review TimerStats field names

    • Type: Icon: Improvement Improvement
    • Resolution: Incomplete
    • Priority: Icon: Critical - P2 Critical - P2
    • None
    • Affects Version/s: None
    • Component/s: Internal Code

      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
      	}
      }
      

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

              Created:
              Updated:
              Resolved: