Skip to content

Gitaly feature flag metadata

Andrew Newdigate requested to merge gitaly_feature_flag_metadata into master

What does this MR do?

This MR is the companion to https://gitlab.com/gitlab-org/gitaly/merge_requests/392.

It adds call_site and client_name metadata to Gitaly calls. Having this information is very useful when testing a new feature as we can check error rates for individual features (since endpoints can be shared by multiple routes).

This information will also be useful as we start to prioritise work on solving n+1 problems in Gitlab CE, since we'll be able to see which n+1s are generating the most traffic and start solving those first.

Are there points in the code the reviewer needs to double check?

No

Why was this MR needed?

  • To speed up testing
  • To prioritise n+1 fixes
Edited by Andrew Newdigate

Merge request reports