[SERVER-72242] Add test only serverStatus metrics to EmuBinary Created: 19/Dec/22  Updated: 29/Oct/23  Resolved: 04/Jan/23

Status: Closed
Project: Core Server
Component/s: None
Affects Version/s: None
Fix Version/s: 6.3.0-rc0

Type: Task Priority: Major - P3
Reporter: Mark Benvenuto Assignee: Spencer Jackson
Resolution: Fixed Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Issue Links:
Related
is related to SERVER-73190 Add a second serverParameter to guard... Closed
Backwards Compatibility: Fully Compatible
Sprint: Security 2022-12-26, Security 2023-01-09
Participants:

 Description   

Add serversStatus metrics to emuBinary to track
1. Aggregated time spent in emuBinary as millis
2. Aggregated number of lookups in emuBinary
3. Number of times emuBinary is preformed (i.e. bump a counter each time it is called)

This way we can compute things like average time per emubinary or average searches per emubinary. This will only be supported if the setParameter `testingDiagnosticsEnabled` is true



 Comments   
Comment by Githook User [ 03/Jan/23 ]

Author:

{'name': 'Spencer Jackson', 'email': 'spencer.jackson@mongodb.com', 'username': 'spencerjackson'}

Message: SERVER-72242 Add test only serverStatus metrics to EmuBinary
Branch: master
https://github.com/mongodb/mongo/commit/03ace3256385389bd59564c30869e38ddbf89d35

Comment by Githook User [ 03/Jan/23 ]

Author:

{'name': 'Spencer Jackson', 'email': 'spencer.jackson@mongodb.com', 'username': 'spencerjackson'}

Message: SERVER-72242 Add test only serverStatus metrics to EmuBinary
Branch: master
https://github.com/10gen/mongo-enterprise-modules/commit/fe2b3cd6c7bd886c1cbeec904659c4db8299df42

Generated at Thu Feb 08 06:21:13 UTC 2024 using Jira 9.7.1#970001-sha1:2222b88b221c4928ef0de3161136cc90c8356a66.