File tree Expand file tree Collapse file tree 1 file changed +2
-5
lines changed
crates/rbuilder/src/telemetry Expand file tree Collapse file tree 1 file changed +2
-5
lines changed Original file line number Diff line number Diff line change @@ -109,10 +109,7 @@ register_metrics! {
109109 & [ "relay" , "kind" ]
110110 )
111111 . unwrap( ) ;
112- pub static BLOCK_SIM_ERRORS : IntCounterVec = IntCounterVec :: new(
113- Opts :: new( "block_sim_errors" , "counter of block simulation errors" ) ,
114- & [ ]
115- )
112+ pub static BLOCK_SIM_ERRORS : IntCounter = IntCounter :: new( "block_sim_errors" , "counter of block simulation errors" )
116113 . unwrap( ) ;
117114 pub static SIMULATED_OK_ORDERS : IntCounter =
118115 IntCounter :: new( "simulated_ok_orders" , "Simulated succeeded orders" ) . unwrap( ) ;
@@ -246,7 +243,7 @@ pub fn inc_too_many_req_relay_errors(relay: &MevBoostRelayID) {
246243}
247244
248245pub fn inc_failed_block_simulations ( ) {
249- BLOCK_SIM_ERRORS . with_label_values ( & [ ] ) . inc ( )
246+ BLOCK_SIM_ERRORS . inc ( )
250247}
251248
252249pub fn set_current_block ( block : u64 ) {
You can’t perform that action at this time.
0 commit comments