Skip to content

Commit

Permalink
etcdserver: remove TODO from "warnOfExpensiveGenericRequest"
Browse files Browse the repository at this point in the history
Metric is already added.

Signed-off-by: Gyuho Lee <[email protected]>
  • Loading branch information
gyuho committed Jun 12, 2018
1 parent 0bf6b87 commit a133e9f
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion etcdserver/util.go
Original file line number Diff line number Diff line change
Expand Up @@ -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 {
Expand Down

0 comments on commit a133e9f

Please sign in to comment.