Add end height to latency

This commit is contained in:
Aditya Kulkarni 2020-05-19 16:00:01 -07:00
parent e16530fa5d
commit e96e088f2d
1 changed files with 1 additions and 0 deletions

View File

@ -242,6 +242,7 @@ func (s *SqlStreamer) GetBlockRange(span *walletrpc.BlockRange, resp walletrpc.C
"method": "GetBlockRangeLatency",
"peer_addr": peerip,
"num_blocks": entry.totalBlocks,
"end_height": entry.lastBlock,
"latency_millis": (now - entry.timeNanos) / int64(math.Pow10(6)),
}).Info("Service")
}