diff options
author | Patrick Steinhardt <psteinhardt@gitlab.com> | 2021-06-18 12:04:16 +0300 |
---|---|---|
committer | Patrick Steinhardt <psteinhardt@gitlab.com> | 2021-06-30 13:03:43 +0300 |
commit | 75ccb2ef11efbf803c8b4b9fb457dfb5ea78eb32 (patch) | |
tree | 119470ef9dd2ab2aed62ad7b9250d55baf84e9ff /cmd/gitaly-debug | |
parent | 5694344d3ee87c4f6ab663197596ba860f63ef50 (diff) |
stats: Split up HTTP stats code
Split up the code which handles generation of HTTP stats into multiple
files and prefix relevant public structures with `HTTP` to make their
scope clear. This is in preparation for a new probe type for pushes,
which will add additional HTTP logic.
Diffstat (limited to 'cmd/gitaly-debug')
-rw-r--r-- | cmd/gitaly-debug/analyzehttp.go | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/cmd/gitaly-debug/analyzehttp.go b/cmd/gitaly-debug/analyzehttp.go index dda0cb11e..805094ac7 100644 --- a/cmd/gitaly-debug/analyzehttp.go +++ b/cmd/gitaly-debug/analyzehttp.go @@ -8,7 +8,7 @@ import ( ) func analyzeHTTPClone(cloneURL string) { - st, err := stats.PerformClone(context.Background(), cloneURL, "", "", true) + st, err := stats.PerformHTTPClone(context.Background(), cloneURL, "", "", true) noError(err) fmt.Println("\n--- Reference discovery metrics:") |