vegaprotocol / data-node

A rich API server for Vega Protocol
https://vega.xyz
Other
3 stars 1 forks source link

chore: add belt and braces block time metric #696

Closed ettec closed 2 years ago

ettec commented 2 years ago

This is arguably unnecessary as you can infer the block time if you know what other metrics to aggregrate, however given this is a super core metric for the datanode I am erring on the side of caution and explicitly adding a metric for this which captures the whole of the block processing logic and gives us a simple metric to monitor.