mirror of https://github.com/status-im/consul.git
Metric name typo
This commit is contained in:
parent
213026b033
commit
3142a51688
|
@ -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
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue