diff --git a/fragment.go b/fragment.go index 2a4154736..0b209f218 100644 --- a/fragment.go +++ b/fragment.go @@ -407,7 +407,7 @@ func (f *Fragment) setBit(rowID, columnID uint64) (changed bool, err error) { // Update the cache. f.cache.Add(rowID, bm.Count()) - f.stats.Count("setBit", 1, 1.0) + f.stats.Count("setBit", 1, 0.001) return changed, nil } diff --git a/handler.go b/handler.go index dbc0882c3..4ef600294 100644 --- a/handler.go +++ b/handler.go @@ -159,7 +159,7 @@ func (h *Handler) ServeHTTP(w http.ResponseWriter, r *http.Request) { statsTags = append(statsTags, "useragent:"+r.UserAgent()) stats := h.Holder.Stats.WithTags(statsTags...) - stats.Histogram("http."+endpointName, float64(dif), 1.0) + stats.Histogram("http."+endpointName, float64(dif), 0.1) } func (h *Handler) handleWebUI(w http.ResponseWriter, r *http.Request) {