Commit 10dcdbf
authored
fix: correct metrics label in requestPreVote handler (hashicorp#665)
The requestPreVote handler reuses the metrics key "requestVote" from copy-paste in hashicorp#530. This causes pre-vote RPC latency to be mixed into the raft.rpc.requestVote metric.
Fix: change to "requestPreVote" to match the pattern used by all other RPC handlers.
Co-authored-by: Qian-Cheng-nju <Qian-Cheng-nju@users.noreply.github.com>1 parent 9071aaf commit 10dcdbf
1 file changed
+1
-1
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1735 | 1735 | | |
1736 | 1736 | | |
1737 | 1737 | | |
1738 | | - | |
| 1738 | + | |
1739 | 1739 | | |
1740 | 1740 | | |
1741 | 1741 | | |
| |||
0 commit comments