diff options
author | Jaime Martinez <jmartinez@gitlab.com> | 2020-09-30 07:59:06 +0300 |
---|---|---|
committer | Jaime Martinez <jmartinez@gitlab.com> | 2020-09-30 07:59:06 +0300 |
commit | 9f34b7999ed3b7c1f1cef6faa42d5d42ea3c5569 (patch) | |
tree | 82ada18353755feeb203e1ba0b39946b1a6e9299 /internal/httprange | |
parent | 7bd5df3e66acab70f89dca0a2d23d63f957f40d0 (diff) |
Rename metrics and update types
Diffstat (limited to 'internal/httprange')
-rw-r--r-- | internal/httprange/transport.go | 2 |
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())) } |