Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Fix metric for total block production time (#4794)
## Proposed Changes Fix the misplacement of the total block production time metric, which occurred during a previous refactor. Total block production times are no longer skewed low (data from Holesky + blockdreamer): ``` # HELP beacon_block_production_seconds Full runtime of block production # TYPE beacon_block_production_seconds histogram beacon_block_production_seconds_bucket{le="0.005"} 0 beacon_block_production_seconds_bucket{le="0.01"} 0 beacon_block_production_seconds_bucket{le="0.025"} 0 beacon_block_production_seconds_bucket{le="0.05"} 0 beacon_block_production_seconds_bucket{le="0.1"} 0 beacon_block_production_seconds_bucket{le="0.25"} 0 beacon_block_production_seconds_bucket{le="0.5"} 37 beacon_block_production_seconds_bucket{le="1"} 65 beacon_block_production_seconds_bucket{le="2.5"} 66 beacon_block_production_seconds_bucket{le="5"} 66 beacon_block_production_seconds_bucket{le="10"} 66 beacon_block_production_seconds_bucket{le="+Inf"} 66 beacon_block_production_seconds_sum 34.225780452 beacon_block_production_seconds_count 66 ``` ## Additional Info Cheers to @jimmygchen for helping spot this.
- Loading branch information