File tree Expand file tree Collapse file tree 1 file changed +7
-0
lines changed
crates/op-rbuilder/src/builders/flashblocks Expand file tree Collapse file tree 1 file changed +7
-0
lines changed Original file line number Diff line number Diff line change @@ -460,6 +460,9 @@ where
460460 ctx. metrics
461461 . flashblock_count
462462 . record ( ctx. flashblock_index ( ) as f64 ) ;
463+ ctx. metrics . missing_flashblocks_count . record (
464+ flashblocks_per_block. saturating_sub ( ctx. flashblock_index ( ) ) as f64 ,
465+ ) ;
463466 debug ! (
464467 target: "payload_builder" ,
465468 message = "Payload building complete, job cancelled during execution"
@@ -518,6 +521,10 @@ where
518521 ctx. metrics
519522 . flashblock_count
520523 . record ( ctx. flashblock_index ( ) as f64 ) ;
524+ ctx. metrics . missing_flashblocks_count . record (
525+ flashblocks_per_block. saturating_sub ( ctx. flashblock_index ( ) )
526+ as f64 ,
527+ ) ;
521528 debug ! (
522529 target: "payload_builder" ,
523530 message = "Payload building complete, job cancelled during execution"
You can’t perform that action at this time.
0 commit comments