Fix Gitaly duration timings of RefService RPCs
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 https://gitlab.com/gitlab-org/gitlab/-/issues/222247. Part of https://gitlab.com/gitlab-org/gitlab/-/issues/30334
Showing
Please register or sign in to comment