Description
keysInserted and keysDeleted metrics have been added to mongoD diagnostics under SERVER-23271. These metrics will be available via slow diagnostic logging and in the profiler.
Definitions:
- keysInserted: The number of index keys inserted for a given write operation.
- keysDeleted: The number of index keys deleted for a given write operation.
Note: We define "operation" here to be a single user operation. A 'find' followed by a 'getMore' on the returned cursor would count as separate operations.
Operations that can report keysInserted:
- insert
- update
- findAndModify
Operations that can report keysDeleted:
- delete
- update
- findAndModify
Attachments
Issue Links
- is related to
-
SERVER-23271 Add metrics to track index key additions and deletions for all CRUD ops/commands
-
- Closed
-