Closed mercadoa closed 5 years ago
➤ lars commented:
We log creation of new blocks in Chainweb.Miner.*
. This is done be returning the new block header from the mine
inner function. If we return the payload
, too, we could extract some metrics from it and log that, too.
We shouldn't log the compete payload, but only some aggregated metrics.
➤ lars commented:
Payload metrics could be logged by adding them to the NewMinedBlock
type or as a separate type, in the latter case a new logHandler would have to be added in node/ChainwebNode.hs
. In the former case, everything should work (we just had to refresh the index pattern in Kibana)
Completed by Colin
At the very least, this should include: