From 5137f56f9c63c236bdd8fa1a46fe4a7225f20a79 Mon Sep 17 00:00:00 2001 From: Alan Bernstein Date: Fri, 3 Apr 2020 01:26:02 -0500 Subject: [PATCH] Use const from package --- http/handler.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/http/handler.go b/http/handler.go index c8faf46a0..6cb5a08c5 100644 --- a/http/handler.go +++ b/http/handler.go @@ -296,7 +296,7 @@ func (h *Handler) collectStats(next http.Handler) http.Handler { stats := h.api.StatsWithTags(statsTags) if stats != nil { - stats.Timing(MetricHttpRequest, dur, 0.1) + stats.Timing(pilosa.MetricHttpRequest, dur, 0.1) } }) }