Use const from package

This commit is contained in:
Alan Bernstein 2020-04-03 01:26:02 -05:00 • committed by Matt Jaffee
parent 34c6d42063
commit 5137f56f9c
No known key found for this signature in database
GPG key ID: 08A3DFFF987B11BF

View file

@ -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)
}
})
}