convert update delay to ms
This commit is contained in:
parent
cde638b11d
commit
cfb26e6a8a
@ -395,5 +395,5 @@ func RecordConsensusBackendInSync(be *Backend, inSync bool) {
|
||||
}
|
||||
|
||||
func RecordConsensusBackendUpdateDelay(be *Backend, delay time.Duration) {
|
||||
consensusUpdateDelayBackend.WithLabelValues(be.Name).Set(float64(delay.Round(time.Millisecond)))
|
||||
consensusUpdateDelayBackend.WithLabelValues(be.Name).Set(float64(delay.Milliseconds()))
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user