From fb181550572e1e1cbd238c5bae436c034801b289 Mon Sep 17 00:00:00 2001 From: Aliaksandr Valialkin Date: Wed, 17 Apr 2019 14:43:23 +0300 Subject: [PATCH] metrics.go: remove unused startTime --- metrics.go | 3 --- 1 file changed, 3 deletions(-) diff --git a/metrics.go b/metrics.go index e427360..9733ed4 100644 --- a/metrics.go +++ b/metrics.go @@ -16,7 +16,6 @@ import ( "runtime" "sort" "sync" - "time" "github.com/valyala/histogram" ) @@ -119,8 +118,6 @@ func writeProcessMetrics(w io.Writer) { runtime.Compiler, runtime.GOARCH, runtime.GOOS, runtime.GOROOT()) } -var startTime = time.Now() - func registerMetric(name string, m metric) { if err := validateMetric(name); err != nil { panic(fmt.Errorf("BUG: invalid metric name %q: %s", name, err))