cockroachdb / cockroach

CockroachDB — the cloud native, distributed SQL database designed for high availability, effortless scale, and control over data placement.
https://www.cockroachlabs.com
Other
30.1k stars 3.8k forks source link

kvcoord: add metric for async requests throttling duration #134127

Open yuzefovich opened 8 hours ago

yuzefovich commented 8 hours ago

This commit adds another metric distsender.batches.async.throttled_cumulative_duration_nanos which exposes how long partial batches were throttled for. This can be useful when adjusting the DistSender concurrency limit.

Informs: #131125. Epic: None

Release note: None

blathers-crl[bot] commented 8 hours ago

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.

cockroach-teamcity commented 8 hours ago

This change is Reviewable