-
Notifications
You must be signed in to change notification settings - Fork 3.7k
Add more debugging information about blocks produced #8477
Comments
The rationale for this request is to understand if latency is correlated to size of the block. Or if maybe blocks are taking a long time for some other reason (eg poor peering). |
I hacked nodeos to add logging, and came out with these results as a test:
So Initial analysis of the logs might assume that |
I suppose the RPC must be extended to expose more valuable metrics. It's not so convenientto parse logs. And when I say "expose" I mean it's time to add prometheus metrics support as de-facto current standard.
Also, I see that get_schedule cleos call isn't available as RPC call, but it obviously should. |
To ease troubleshooting when blocks get lost it would be very helpful to log more information about the size of the block in nodeos standard output
Today it looks like this:
Request is to add things like:
If computing this information will take additional CPU, the probably it should be optionally controlled by either a configuration or logging option.
The text was updated successfully, but these errors were encountered: