Log pack-objects concurrency grouped by IP
Gitaly is logging "concurrency" by key. When a RPC request is handled, it logs the total number of in-flight requests as the following keys: concurrency_type
, concurrency_key
and concurrency
. Those numbers are very helpful in analysis and investigations, such as https://gitlab.com/gitlab-org/gitlab/-/issues/396294#note_1325271718. To support the new limiter in Implement per-IP pack-objects limiter (#5013 - closed), collecting the concurrency IP is a prerequisite to support that idea and find a baseline to set the limit.
Edited by Quang-Minh Nguyen