Skip to content
This repository was archived by the owner on Aug 23, 2023. It is now read-only.

Commit 3922e53

Browse files
committed
Fix metric names in comments
1 parent baef89d commit 3922e53

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

api/cluster.go

+2-2
Original file line numberDiff line numberDiff line change
@@ -22,10 +22,10 @@ var NotFoundErr = errors.New("not found")
2222

2323
var (
2424

25-
// metric api.cluster.speculative.requests is how many peer queries resulted in speculation
25+
// metric api.cluster.speculative.attempts is how many peer queries resulted in speculation
2626
speculativeAttempts = stats.NewCounter32("api.cluster.speculative.attempts")
2727

28-
// metric api.cluster.speculative.requests is how many peer queries were improved due to speculation
28+
// metric api.cluster.speculative.wins is how many peer queries were improved due to speculation
2929
speculativeWins = stats.NewCounter32("api.cluster.speculative.wins")
3030

3131
// metric api.cluster.speculative.requests is how many speculative http requests made to peers

0 commit comments

Comments
 (0)