mirror of
https://github.com/featurebasedb/featurebase.git
synced 2026-10-07 19:37:51 +00:00
changed comment for Handler ServeHTTP metrics .
This commit is contained in:
parent
00e60247f6
commit
3d6646b82a
1 changed files with 1 additions and 1 deletions
|
|
@ -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 {
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue