Open dapplion opened 3 years ago
assign please
@dapplion these looks like good metrics to pick up next ?
@dapplion these looks like good metrics to pick up next ?
I think the next interesting group to add would be around block production. Note that lighthouse has very detailed timings on each step of the process. Our approach to block production is more simple so maybe a single histogram around the entire thing would suffice. We are already kind of tracking it via the API response times, but it would be nice to track it anyway.
At the same time it would be quite a priority to have metrics in our regen / state cache: https://github.com/ChainSafe/lodestar/issues/2153. Let's discuss details in that issue if you are interested.
Keeping open since there are some metrics we want to implement soonish too
Adding some ideas to this from @wemeetagain discussion in Columbia that I found in my notes:
Ready to execute
Metric ideas
Misc
Once properly defined, convert to issue or pull request and move above to "Ready to execute"
From Lighthouse
Reviewed this file and select interesting metrics to add https://github.com/sigp/lighthouse/blob/stable/beacon_node/beacon_chain/src/metrics.rs
Block Delay Metrics
beacon_block_imported_slot_start_delay_time
: Duration between the start of the blocks slot and the current time when it was imported.beacon_block_head_slot_start_delay_time
: Duration between the start of the blocks slot and the current time when it was as head.beacon_block_head_slot_start_delay_exceeded_total
: Triggered when the duration between the start of the blocks slot and the current time will result in failed attestations. https://github.com/ChainSafe/lodestar/pull/5559Persisting BeaconChain components to disk
beacon_persist_head
: Time taken to persist the canonical headbeacon_persist_op_pool
: Time taken to persist the operations pool - Does Lighthouse keep all ops in memory?beacon_persist_eth1_cache
: Time taken to persist the eth1 cachesChain Head
beacon_update_head_seconds
: Time taken to update the canonical head - Review what does it refer too