Skip to content

Instantly share code, notes, and snippets.

@kgorman
Last active December 13, 2015 18:49
Show Gist options
  • Save kgorman/4957922 to your computer and use it in GitHub Desktop.
Save kgorman/4957922 to your computer and use it in GitHub Desktop.
{
"ts" : ISODate("2012-09-14T16:34:00.010Z"), // date it occurred
"op" : "query", // the operation type
"ns" : "game.players", // the db and collection
"query" : { "total_games" : 1000 }, // query document
"ntoreturn" : 0, // # docs returned with limit()
"ntoskip" : 0, // # of docs to skip()
"nscanned" : 959967, // number of docs scanned
"keyUpdates" : 0, // updates of secondary indexes
"numYield" : 1, // # of times yields took place
"lockStats" : { ... }, // subdoc of lock stats
"nreturned" : 0, // # docs actually returned
"responseLength" : 20, // size of doc
"millis" : 859, // how long it took
"client" : "127.0.0.1", // client asked for it
"user" : "" // the user asking for it
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment