Metric name typo

This commit is contained in:
Mat Schaffer 2016-02-25 11:20:53 +09:00
parent 48f2089d7f
commit fa2ba64654
1 changed files with 1 additions and 1 deletions

View File

@ -648,7 +648,7 @@ func (r *Raft) runFollower() {
} else {
r.logger.Printf("[WARN] raft: Heartbeat timeout reached, starting election")
metrics.IncrCounter([]string{"raft", "transition", "heartbeat_timout"}, 1)
metrics.IncrCounter([]string{"raft", "transition", "heartbeat_timeout"}, 1)
r.setState(Candidate)
return
}