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

Review TimerStats field names

    XMLWordPrintableJSON

Details

    • Icon: Improvement Improvement
    • Resolution: Incomplete
    • Icon: Critical - P2 Critical - P2
    • None
    • None
    • Internal Code

    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

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

            Dates

              Created:
              Updated:
              Resolved: