Commit 716e04c
committed
Add MCSR gauge to ConnectionMetric snapshots
Register a ConnectionMetricCallback in the search pool router that
reports each node's adaptive max_concurrent_shard_requests value.
The callback is gated at registration by adaptiveConcurrencyEnabled(),
so the per-snapshot path is unconditional — no locks needed since
loadCwnd() is atomic and computeAdaptiveConcurrency() is pure math.
Signed-off-by: Sean Chittenden <sean.chittenden@crowdstrike.com>1 parent a9759ab commit 716e04c
1 file changed
Lines changed: 16 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
387 | 387 | | |
388 | 388 | | |
389 | 389 | | |
| 390 | + | |
| 391 | + | |
| 392 | + | |
| 393 | + | |
| 394 | + | |
| 395 | + | |
| 396 | + | |
| 397 | + | |
| 398 | + | |
| 399 | + | |
| 400 | + | |
| 401 | + | |
| 402 | + | |
| 403 | + | |
| 404 | + | |
| 405 | + | |
390 | 406 | | |
391 | 407 | | |
392 | 408 | | |
| |||
0 commit comments