Open blathers-crl[bot] opened 7 hours ago
Thanks for opening a backport.
Please check the backport criteria before merging:
Also, please add a brief release justification to the body of your PR to justify this backport.
It looks like your PR touches production code but doesn't add or edit any test code. Did you consider adding tests to your PR?
:owl: Hoot! I am a Blathers, a bot for CockroachDB. My owner is dev-inf.
Backport 1/1 commits from #134092 on behalf of @yuzefovich.
/cc @cockroachdb/release
It has been shown that adjusting
kv.dist_sender.concurrency_limit
cluster setting can improve the performance significantly. We currently already have two relevant counters:distsender.batches.async.sent
tracks the total number of partial KV batches that have been executed in parallel since the node restartdistsender.batches.async.throttled
is the total number of times we tried to send a partial KV batch but couldn’t because we exhausted thekv.dist_sender.concurrency_limit
.This commit additionally introduces
distsender.batches.async.in_progress
gauge to indicate how many partial batch are being executed asynchronously at any point in time.Fixes: #131125.
Release note: None
Release justification: low-risk observability improvement.