changed comment for Handler ServeHTTP metrics .

This commit is contained in:
Michael Baird 2017-05-31 11:39:58 -05:00
parent 00e60247f6
commit 3d6646b82a

View file

@ -142,8 +142,8 @@ func (h *Handler) ServeHTTP(w http.ResponseWriter, r *http.Request) {
h.Router.ServeHTTP(w, r)
dif := time.Since(t)
// Calculate per request StatsD metrics when the handler is fully configured.
if h.Holder != nil && h.Cluster != nil {
// Handle some stats tagging
statsTags := make([]string, 0, 3)
if h.Cluster.LongQueryTime > 0 && dif > h.Cluster.LongQueryTime {