[DOCS-15862] [SERVER] Investigate changes in SERVER-71392: Track usage of JSON Schema for validation Created: 02/Feb/23  Updated: 22/Jan/24

Status: Backlog
Project: Documentation
Component/s: manual, Server
Affects Version/s: None
Fix Version/s: 6.3.0-rc0, 6.0.5, 5.0.16, 4.4.20

Type: Task Priority: Major - P3
Reporter: Backlog - Core Eng Program Management Team Assignee: Unassigned
Resolution: Unresolved Votes: 0
Labels: backlog, feature, server-docs-bug-bash
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Issue Links:
Depends
is depended on by DOCS-15909 [SERVER][BACKPORT] [v5.0] Track usage... Backlog
is depended on by DOCS-15910 [SERVER][BACKPORT] [v6.0] Track usage... Backlog
Documented
documents SERVER-71392 Track usage of JSON Schema for valida... Closed
Participants:
Days since reply: 1 year, 6 days ago

 Description   
Original Downstream Change Summary

A new field (validator) was added for serverStatus.metrics.commands for only the collMod and create commands. The new field has this syntax:

{
create: {
failed: Long("0"),
validator :

{ total: Long("1"), jsonSchema: Long("1"), failed: Long("0")}

total: Long("23")
},

Description of Linked Ticket

Add additional counters in serverStatus().metrics.commands for collMod and create.

Something like:

{
create: { 
failed: Long("0"), 
validator: { total: Long("0"), failed: Long("0"), jsonSchema: Long("0")}, 
total: Long("23"
},
collMod: { 
failed: Long("0"), 
validator: { total: Long("0"), failed: Long("0"), jsonSchema: Long("0")}, 
total: Long("0"
}
...
}

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. 


Generated at Thu Feb 08 08:14:03 UTC 2024 using Jira 9.7.1#970001-sha1:2222b88b221c4928ef0de3161136cc90c8356a66.