Skip to content

Fix Gitaly duration timings of RefService RPCs

Stan Hu requested to merge sh-fix-gitaly-ref-service-durations into master

For many Gitaly RPCs, previously the gitaly_duration_s log timings only accounted for the initial request/response time. We now measure the total time it takes to consume the response for the following RPCs:

  1. FindAllBranches
  2. FindAllRemoteBranches
  3. FindAllBranchNames
  4. FindAllTagNames
  5. ListNewCommits
  6. ListNewBlobs
  7. FindLocalBranches
  8. FindAllTags
  9. ListBranchNamesContainingCommit
  10. GetTagMessages

This came up in #222247 (closed).

Part of #30334 (closed)

Edited by Sean Carroll

Merge request reports