convert update delay to ms

This commit is contained in:
Felipe Andrade 2023-05-09 17:50:25 -07:00
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()))
}