You need to sign in or sign up before continuing.
WIP: Propagate client identity to gitaly on SmartHTTP calls
This patch propagates client metadata to gitaly when forwarding SmartHTTP calls.
Workhorse knows the original IP address, and is optionally able to get username from the pre-authorization call into rails.
This allows gitaly to have user awareness, and makes correlation by username and remote_ip much easier, as those dimensions are available directly from within the gitaly logs.
Gitaly already supports these fields as per gitaly!2802 (merged).
There are plans to propagate this metadata in a more general way in labkit!93.
Edited by Igor