[SERVER-53216] Report number of databases in resource consumption serverStatus section Created: 03/Dec/20 Updated: 29/Oct/23 Resolved: 15/Dec/20 |
|
| Status: | Closed |
| Project: | Core Server |
| Component/s: | None |
| Affects Version/s: | None |
| Fix Version/s: | 4.9.0 |
| Type: | Improvement | Priority: | Major - P3 |
| Reporter: | Louis Williams | Assignee: | Louis Williams |
| Resolution: | Fixed | Votes: | 0 |
| Labels: | None | ||
| Remaining Estimate: | Not Specified | ||
| Time Spent: | Not Specified | ||
| Original Estimate: | Not Specified | ||
| Issue Links: |
|
||||
| Backwards Compatibility: | Fully Compatible | ||||
| Sprint: | Execution Team 2020-12-28 | ||||
| Participants: | |||||
| Description |
|
Report the number of databases that have globally-aggregated metrics in the 'resourceConsumption' serverStatus section. This information is already accessible by using the following aggregation pipeline:
This comes from a Cloud request to put this diagnostic information in serverStatus for consumers that are already fetching the serverStatus periodically. |
| Comments |
| Comment by Louis Williams [ 17/Dec/20 ] | ||||||||||
|
bruce.lucas, just an FYI that this change diverges from our previous discussion in | ||||||||||
| Comment by Githook User [ 15/Dec/20 ] | ||||||||||
|
Author: {'name': 'Louis Williams', 'email': 'louis.williams@mongodb.com', 'username': 'louiswilliams'}Message: | ||||||||||
| Comment by Louis Williams [ 15/Dec/20 ] | ||||||||||
|
When the aggregateOperationResourceConsumptionMetrics serverParameter is enabled, serverStatus will include the following section:
|