Skip to content

Add gitaly-debug production debugging tool

Jacob Vosmaer requested to merge gitaly-debug into master

Example use:

$ ../gitaly/src/gitlab.com/gitlab-org/gitaly/gitaly-debug test-http-clone-speed .
Generating server response for HTTP clone. Data goes to /dev/null.
advertise-refs 6927 lines 265.893652ms
Enumerating objects: 794059, done.
Counting objects: 100% (794059/794059), done.
Compressing objects: 100% (222792/222792), done.
Total 794059 (delta 610856), reused 738479 (delta 561863)
upload-pack 359.07 MB 19.330484505s

I think this might be useful for performance debugging situations in production. It allows you to see if slow clones are due to downstream network issues, or due to Gitaly server performance constraints.

Edited by GitLab Release Tools Bot

Merge request reports