[SERVER-71392] Track usage of JSON Schema for validation Created: 15/Nov/22 Updated: 29/Oct/23 Resolved: 02/Feb/23 |
|
| Status: | Closed |
| Project: | Core Server |
| Component/s: | None |
| Affects Version/s: | None |
| Fix Version/s: | 6.3.0-rc0, 6.0.5, 4.4.20, 5.0.16 |
| Type: | Task | Priority: | Major - P3 |
| Reporter: | Katya Kamenieva | Assignee: | Gil Alon |
| Resolution: | Fixed | Votes: | 1 |
| Labels: | metrics | ||
| Remaining Estimate: | Not Specified | ||
| Time Spent: | Not Specified | ||
| Original Estimate: | Not Specified | ||
| Issue Links: |
|
||||||||||||||||||||
| Assigned Teams: |
Query Execution
|
||||||||||||||||||||
| Backwards Compatibility: | Fully Compatible | ||||||||||||||||||||
| Backport Requested: |
v6.0, v5.0, v4.4
|
||||||||||||||||||||
| Sprint: | QE 2023-02-06 | ||||||||||||||||||||
| Participants: | |||||||||||||||||||||
| Description |
|
Add additional counters in serverStatus().metrics.commands for collMod and create. Something like:
Increment count for 'validator.total' if non-empty 'validator' object was passed as option to the command. Increment 'validator.jsonSchema' if $jsonSchema was used anywhere within 'validator' object. |
| Comments |
| Comment by Githook User [ 22/Feb/23 ] |
|
Author: {'name': 'Gil Alon', 'email': 'gil.alon@mongodb.com', 'username': 'galon1'}Message: |
| Comment by Githook User [ 17/Feb/23 ] |
|
Author: {'name': 'Gil Alon', 'email': 'gil.alon@mongodb.com', 'username': 'galon1'}Message: |
| Comment by Githook User [ 17/Feb/23 ] |
|
Author: {'name': 'Gil Alon', 'email': 'gil.alon@mongodb.com', 'username': 'galon1'}Message: |
| Comment by Githook User [ 02/Feb/23 ] |
|
Author: {'name': 'Gil Alon', 'email': 'gil.alon@mongodb.com', 'username': 'galon1'}Message: |