[SERVER-71685] Remove ConnectionAcquisitionToWireLoggingRate parameter Created: 29/Nov/22  Updated: 29/Oct/23  Resolved: 06/Dec/22

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

Type: Improvement Priority: Major - P3
Reporter: Jason Chan Assignee: Jason Chan
Resolution: Fixed Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Issue Links:
Backports
Documented
is documented by DOCS-15771 Investigate changes in SERVER-71685: ... Closed
Problem/Incident
Related
is related to SERVER-64967 Measure how long it takes operations ... Closed
Backwards Compatibility: Fully Compatible
Backport Requested:
v6.2
Sprint: Service Arch 2022-12-12
Participants:
Linked BF Score: 0

 Description   

Currently, the ConnectionAcquisitionToWireLoggingRate parameter is set to 0.2 by default which is quite high since it means we are sampling 20% of egress connections to emit a metrics log message. This could end up being problematic for customers.



 Comments   
Comment by Githook User [ 09/Dec/22 ]

Author:

{'name': 'Jason Chan', 'email': 'jason.chan@mongodb.com', 'username': 'jasonjhchan'}

Message: SERVER-71685 Remove sampling of connAcquisitionToWire metrics

(cherry picked from commit 8cefa36fddf8cad897d669a565038cd0ae0c83a2)
Branch: v6.2
https://github.com/mongodb/mongo/commit/d8c83636e6cc4a3157f7cb079222f150689698de

Comment by Githook User [ 06/Dec/22 ]

Author:

{'name': 'Jason Chan', 'email': 'jason.chan@mongodb.com', 'username': 'jasonjhchan'}

Message: SERVER-71685 Remove sampling of connAcquisitionToWire metrics
Branch: master
https://github.com/mongodb/mongo/commit/8cefa36fddf8cad897d669a565038cd0ae0c83a2

Comment by Jason Chan [ 01/Dec/22 ]

This ticket changed default logging rate from 0.2 to 0.05.

This patch will remove the connectionAcquisitionToWireLoggingRate server parameter. The new behavior is that the metric will only be be logged if the connectionAcquisitionToWire time is over the threshold of 1ms.

Comment by Githook User [ 01/Dec/22 ]

Author:

{'name': 'Jason Chan', 'email': 'jason.chan@mongodb.com', 'username': 'jasonjhchan'}

Message: SERVER-71685 Reduce default of ConnectionAcquisitionToWireLoggingRate parameter
Branch: master
https://github.com/mongodb/mongo/commit/22523b89a27c5619d34ee987c1de32c6f96c627b

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