[SERVER-7382] Track counters for each command Created: 17/Oct/12 Updated: 27/Oct/15 Resolved: 25/Sep/14 |
|
| Status: | Closed |
| Project: | Core Server |
| Component/s: | Admin, Internal Code |
| Affects Version/s: | None |
| Fix Version/s: | 2.7.7 |
| Type: | Improvement | Priority: | Major - P3 |
| Reporter: | Scott Hernandez (Inactive) | Assignee: | David Hows |
| Resolution: | Done | Votes: | 2 |
| Labels: | community-team, pull-request | ||
| Remaining Estimate: | Not Specified | ||
| Time Spent: | Not Specified | ||
| Original Estimate: | Not Specified | ||
| Issue Links: |
|
||||||||||||||||||||||||||||||||||||
| Backwards Compatibility: | Minor Change | ||||||||||||||||||||||||||||||||||||
| Sprint: | Server 2.7.4, Server 2.7.5, Server 2.7.6 | ||||||||||||||||||||||||||||||||||||
| Participants: | |||||||||||||||||||||||||||||||||||||
| Description |
|
For each command we should track a counter, like opcounters in serverStatus and a gauge for the active/waiting operations by command type. This will provide a counter for each command showing the number of times it has been executed and the number of times that the execution has failed. It will also track the number of times any unknown/invalid command is executed. This will track writes that are issued via the write command syntax. Due to this the values between the already existing command counter and the new counters may be off. Example shell usage:
|
| Comments |
| Comment by Githook User [ 25/Sep/14 ] |
|
Author: {u'username': u'daveh86', u'name': u'daveh86', u'email': u'howsdav@gmail.com'}Message: Closes #794 Signed-off-by: Benety Goh <benety@mongodb.com> |
| Comment by Scott Hernandez (Inactive) [ 24/Sep/14 ] |
|
David, Please update the title/summary here with correct information, examples, etc. before closing. Also note that "write commands" (insert/update/delete) are tracked and that the command counts under the new section might not match the other totals in opcounters due to this and other exceptions. |
| Comment by Ruslan Udovichenko [ 08/Aug/14 ] |
|
1 |