-
Type:
Task
-
Resolution: Unresolved
-
Priority:
Major - P3
-
None
-
Affects Version/s: None
-
Component/s: None
-
None
-
Networking & Observability
-
N&O 2025-05-12
-
None
-
3
-
TBD
-
None
-
None
-
None
-
None
-
None
-
None
Add the following metrics to the admission::RateLimiter component:
"totalAddedQueue": 20, "totalRemovedQueue": 10, "totalNewAdmissions": 1000, "averageTimeQueuedMicros": 10, "totalAvailableTokens": 0,
And ensure that they are output in the "queues" server status section under a new "connectionEstablishment" subheader.
The "averageTimeQueuedMicros" should use an exponentially weighted moving average formula, as defined here (and it would be nice if this was added in a util so that we can share it in the future): https://github.com/mongodb/specifications/blob/master/source/server-selection/server-selection.md#calculation-of-average-round-trip-times
- depends on
-
SERVER-104408 Introduce connection establishment rate limiter component
-
- Closed
-