Commit 452ff9e9 authored by Felipe Andrade's avatar Felipe Andrade

convert update delay to ms

parent c35ce043
......@@ -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()))
}
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment