From a133e9fc8cf7f60528b9aeca0b0966c28bf447b4 Mon Sep 17 00:00:00 2001 From: Gyuho Lee Date: Tue, 12 Jun 2018 09:37:00 -0700 Subject: [PATCH] etcdserver: remove TODO from "warnOfExpensiveGenericRequest" Metric is already added. Signed-off-by: Gyuho Lee --- etcdserver/util.go | 1 - 1 file changed, 1 deletion(-) diff --git a/etcdserver/util.go b/etcdserver/util.go index 5a171f4d2b4..4e547120cac 100644 --- a/etcdserver/util.go +++ b/etcdserver/util.go @@ -138,7 +138,6 @@ func warnOfExpensiveReadOnlyRangeRequest(lg *zap.Logger, now time.Time, reqStrin } func warnOfExpensiveGenericRequest(lg *zap.Logger, now time.Time, reqStringer fmt.Stringer, prefix string, resp string, err error) { - // TODO: add metrics d := time.Since(now) if d > warnApplyDuration { if lg != nil {