[DOCS-14455] Investigate changes in SERVER-43617: Add metrics on the mongos to indicate the number of shards targeted for the commands (find, aggregate, etc) Created: 13/May/21 Updated: 13/Nov/23 Resolved: 20/Sep/21 |
|
| Status: | Closed |
| Project: | Documentation |
| Component/s: | manual, Server |
| Affects Version/s: | None |
| Fix Version/s: | 4.3.3, 4.0.25, 4.2.15, Server_Docs_20231030, Server_Docs_20231106, Server_Docs_20231105, Server_Docs_20231113 |
| Type: | Task | Priority: | Major - P3 |
| Reporter: | Backlog - Core Eng Program Management Team | Assignee: | Ian Fogelman |
| Resolution: | Fixed | Votes: | 0 |
| Labels: | None | ||
| Remaining Estimate: | Not Specified | ||
| Time Spent: | Not Specified | ||
| Original Estimate: | Not Specified | ||
| Attachments: |
|
||||||||||||||||||||
| Issue Links: |
|
||||||||||||||||||||
| Participants: | |||||||||||||||||||||
| Days since reply: | 2 years, 20 weeks, 2 days ago | ||||||||||||||||||||
| Epic Link: | DOCSP-15042 | ||||||||||||||||||||
| Story Points: | 4 | ||||||||||||||||||||
| Description |
DescriptionDownstream Change Summary A new field 'shardingStatistics.numHostsTargeted' was added to the output of the serverStatus command in order to indicate the number of shards targeted for CRUD ops and the aggregation command. Each time either a CRUD op or agg command is run, these metrics are incremented. The new field looks like:
allShards - all shards were targeted for a command Description of Linked TicketCurrently the mongos collects the opcounter metrics etc, with which we can get an idea on the incoming operations to the mongos. The mongos dispatch the operations to the shards:
Currently we have added a metric to indicate the amount of sharded updates done with only _id in query ( Scope of changesImpact to Other DocsMVP (Work and Date)Resources (Scope or Design Docs, Invision, etc.) |
| Comments |
| Comment by Githook User [ 20/Sep/21 ] |
|
Author: {'name': 'ianf-mongodb', 'email': '85948430+ianf-mongodb@users.noreply.github.com', 'username': 'ianf-mongodb'}Message:
|
| Comment by Githook User [ 20/Sep/21 ] |
|
Author: {'name': 'ian fogelman', 'email': 'ian.fogelman@mongodb.com', 'username': 'ianf-mongodb'}Message: |
| Comment by Githook User [ 20/Sep/21 ] |
|
Author: {'name': 'ian fogelman', 'email': 'ian.fogelman@mongodb.com', 'username': 'ianf-mongodb'}Message: |
| Comment by Githook User [ 20/Sep/21 ] |
|
Author: {'name': 'ian fogelman', 'email': 'ian.fogelman@mongodb.com', 'username': 'ianf-mongodb'}Message: |
| Comment by Ian Fogelman [ 25/Aug/21 ] |
|
Currently waiting on https://jira.mongodb.org/browse/DOP-2421 for some background on the serverStatus page. Links are not working correctly so linking from the release notes to numHosts is a bit confusing currently. |