[SERVER-79352] (SA) Allow dual `MetricTree` based on role Created: 26/Jul/23 Updated: 05/Feb/24 |
|
| Status: | In Progress |
| Project: | Core Server |
| Component/s: | None |
| Affects Version/s: | None |
| Fix Version/s: | None |
| Type: | Task | Priority: | Major - P3 |
| Reporter: | Paolo Polato | Assignee: | Billy Donahue |
| Resolution: | Unresolved | Votes: | 0 |
| Labels: | auto-reverted, pm-635-milestone-3 | ||
| Σ Remaining Estimate: | Not Specified | Remaining Estimate: | Not Specified |
| Σ Time Spent: | Not Specified | Time Spent: | Not Specified |
| Σ Original Estimate: | Not Specified | Original Estimate: | Not Specified |
| Issue Links: |
|
||||||||||||||||||||||||||||
| Sub-Tasks: |
|
||||||||||||||||||||||||||||
| Assigned Teams: |
Service Arch
|
||||||||||||||||||||||||||||
| Backwards Compatibility: | Fully Compatible | ||||||||||||||||||||||||||||
| Sprint: | Service Arch 2023-08-21, Service Arch 2023-10-02, Service Arch 2023-10-16, Service Arch 2023-10-30, Service Arch 2023-11-13, Service Arch 2023-11-27, Service Arch 2023-12-11, Service Arch 2023-12-25, Service Arch 2024-01-08, Service Arch 2024-01-22, Service Arch 2024-02-05, Service Arch 2024-02-19 | ||||||||||||||||||||||||||||
| Participants: | |||||||||||||||||||||||||||||
| Linked BF Score: | 164 | ||||||||||||||||||||||||||||
| Description |
|
The response provided by the serverStatus command includes a "Metrics" section, which reflects the state of a set of counters (ServerStatusMetric objects) managed by a process-global registry (the globalMetricTree). Such infrastructure needs to be adapted to support a scenario where a mongod process provides role-specific metrics based on the port serving a serverStatus request. |
| Comments |
| Comment by Billy Donahue [ 30/Oct/23 ] |
|
reopening as subtask still in progress |
| Comment by Githook User [ 27/Oct/23 ] |
|
Author: {'name': 'Billy Donahue', 'email': 'billy.donahue@mongodb.com', 'username': 'BillyDonahue'}Message: SERVER-79352 ClusterRole for MetricTree |
| Comment by Billy Donahue [ 26/Oct/23 ] |
|
I believe the revert was caused by the `auth` test being sensitive to logging at LogSeverity D3. |
| Comment by Githook User [ 24/Oct/23 ] |
|
Author: {'name': 'auto-revert-processor', 'email': 'dev-prod-dag@mongodb.com', 'username': ''}Message: Revert "SERVER-79352 ClusterRole for MetricTree" This reverts commit 63ceb3543106ef7e383d7a484c8199b740b40a3b. |
| Comment by Githook User [ 23/Oct/23 ] |
|
Author: {'name': 'Billy Donahue', 'email': 'billy.donahue@mongodb.com', 'username': 'BillyDonahue'}Message: SERVER-79352 ClusterRole for MetricTree |
| Comment by Billy Donahue [ 22/Aug/23 ] |
|
The description says that the globalMetricTree has to be adapted, but I would like to know if there is any design work done on what the metric tree will look like after the merger to inform the adaptation that needs to be done. Do the roles become sibling subtrees of a common root? There are many possibilities. |