Welcome to mirror list, hosted at ThFree Co, Russian Federation.

gitlab.com/gitlab-org/gitlab-pages.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJaime Martinez <jmartinez@gitlab.com>2020-09-30 07:59:06 +0300
committerJaime Martinez <jmartinez@gitlab.com>2020-09-30 07:59:06 +0300
commit9f34b7999ed3b7c1f1cef6faa42d5d42ea3c5569 (patch)
tree82ada18353755feeb203e1ba0b39946b1a6e9299 /internal/httprange
parent7bd5df3e66acab70f89dca0a2d23d63f957f40d0 (diff)
Rename metrics and update types
Diffstat (limited to 'internal/httprange')
-rw-r--r--internal/httprange/transport.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/internal/httprange/transport.go b/internal/httprange/transport.go
index 90c1a46c..f0a8cf84 100644
--- a/internal/httprange/transport.go
+++ b/internal/httprange/transport.go
@@ -92,5 +92,5 @@ func newTracer(start time.Time) *httptrace.ClientTrace {
}
func observe(label string, start time.Time) {
- metrics.ObjectStorageResponsiveness.WithLabelValues(label).Observe(float64(time.Since(start).Milliseconds()))
+ metrics.ObjectStorageTraceDuration.WithLabelValues(label).Observe(float64(time.Since(start).Milliseconds()))
}