lighthouse/beacon_node
Michael Sproul 5cc0f1097b 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.
2023-10-18 06:52:50 +00:00
..
beacon_chain Fix metric for total block production time (#4794) 2023-10-18 06:52:50 +00:00
beacon_processor Merge unstable 20230925 into deneb-free-blobs. 2023-09-26 10:32:18 +10:00
builder_client Merge unstable 20230925 into deneb-free-blobs. 2023-09-26 10:32:18 +10:00
client Deneb pr updates 2 (#4851) 2023-10-17 09:53:46 +11:00
eth1 Move dependencies to workspace (#4650) 2023-09-22 04:30:56 +00:00
execution_layer Pre-generate test blobs bundle to improve test time. (#4829) 2023-10-18 04:40:29 +00:00
genesis Move dependencies to workspace (#4650) 2023-09-22 04:30:56 +00:00
http_api Deneb pr updates 2 (#4851) 2023-10-17 09:53:46 +11:00
http_metrics Move dependencies to workspace (#4650) 2023-09-22 04:30:56 +00:00
lighthouse_network Very minor own nitpicks (#4845) 2023-10-16 16:30:14 +11:00
network Pre-generate test blobs bundle to improve test time. (#4829) 2023-10-18 04:40:29 +00:00
operation_pool Remove serde derive references (#4830) 2023-10-11 13:01:30 -04:00
src Merge branch 'unstable' into merge-unstable-to-deneb-20231005 2023-10-05 15:54:44 +11:00
store Remove serde derive references (#4830) 2023-10-11 13:01:30 -04:00
tests Appease Clippy 1.68 and refactor http_api (#4068) 2023-03-13 01:40:03 +00:00
timer Move dependencies to workspace (#4650) 2023-09-22 04:30:56 +00:00
Cargo.toml Merge unstable 20230925 into deneb-free-blobs. 2023-09-26 10:32:18 +10:00