[SERVER-83636] Change writeQueryStats to take a struct of metrics Created: 28/Nov/23  Updated: 11/Dec/23  Resolved: 11/Dec/23

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

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

Issue Links:
Depends
depends on SERVER-83630 Extend QueryStatsEntry with new metrics. Closed
is depended on by SERVER-83638 Change collectQueryStatsMongod to col... Closed
Assigned Teams:
Service Arch
Backwards Compatibility: Fully Compatible
Sprint: Security 2023-12-11, Security 2023-12-25
Participants:

 Description   

writeQueryStats takes all the metrics it needs as parameters. There are currently 6 parameters. With the addition of 6 metrics, this would be too many parameters to the function. The function should be changed to take all the parameters as a struct.



 Comments   
Comment by Githook User [ 11/Dec/23 ]

Author:

{'name': 'Mark Benvenuto', 'email': 'mark.benvenuto@mongodb.com', 'username': 'markbenvenuto'}

Message: SERVER-83636 Change writeQueryStats to take a struct of metrics

GitOrigin-RevId: 753fc9746c613f6c5ffa3a360ce376fe1e1a2171
Branch: master
https://github.com/mongodb/mongo/commit/13ab2173decdc6103b86d7aadb9f98c22364b4dd

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