Gitaly Praefect - gRPC server binary
The by #1481 (closed) introduced proxy package will need to be used by a gRPC server and a binary to execute. To do this is a way the praefect can be swapped in instead of a Gitaly in the gitlab.rb
or gitlab.yml
, it should be aware of its backend. Gitaly reads configuration from a TOML file. This approach should work well for the praefect too.
The configuration should include a listen address, and maybe a log level.
Logging should be included in this issue, as the output to logging needs to be in line with Gitaly itself. Observibility through LabKit with tracing, correlation IDs, but also prometheus, and others I missed will be implemented in a different issue, to keep the changes small and concise.