@@ -44,9 +44,9 @@ pub struct KeeperMetrics {
4444 pub gas_price_estimate : Family < AccountLabel , Gauge < f64 , AtomicU64 > > ,
4545 pub accrued_pyth_fees : Family < ChainIdLabel , Gauge < f64 , AtomicU64 > > ,
4646 pub block_timestamp_lag : Family < ChainIdLabel , Gauge > ,
47- pub block_timestamp : Family < ChainIdLabel , Gauge > ,
47+ pub latest_block_timestamp : Family < ChainIdLabel , Gauge > ,
4848 pub process_event_timestamp : Family < ChainIdLabel , Gauge > ,
49- pub block_number : Family < ChainIdLabel , Gauge > ,
49+ pub latest_block_number : Family < ChainIdLabel , Gauge > ,
5050 pub process_event_block_number : Family < ChainIdLabel , Gauge > ,
5151}
5252
@@ -91,9 +91,9 @@ impl Default for KeeperMetrics {
9191 gas_price_estimate : Family :: default ( ) ,
9292 accrued_pyth_fees : Family :: default ( ) ,
9393 block_timestamp_lag : Family :: default ( ) ,
94- block_timestamp : Family :: default ( ) ,
94+ latest_block_timestamp : Family :: default ( ) ,
9595 process_event_timestamp : Family :: default ( ) ,
96- block_number : Family :: default ( ) ,
96+ latest_block_number : Family :: default ( ) ,
9797 process_event_block_number : Family :: default ( ) ,
9898 }
9999 }
@@ -237,9 +237,9 @@ impl KeeperMetrics {
237237 ) ;
238238
239239 writable_registry. register (
240- "block_timestamp " ,
240+ "latest_block_timestamp " ,
241241 "The current block timestamp" ,
242- keeper_metrics. block_timestamp . clone ( ) ,
242+ keeper_metrics. latest_block_timestamp . clone ( ) ,
243243 ) ;
244244
245245 writable_registry. register (
@@ -249,9 +249,9 @@ impl KeeperMetrics {
249249 ) ;
250250
251251 writable_registry. register (
252- "block_number " ,
252+ "latest_block_number " ,
253253 "The current block number" ,
254- keeper_metrics. block_number . clone ( ) ,
254+ keeper_metrics. latest_block_number . clone ( ) ,
255255 ) ;
256256
257257 writable_registry. register (
@@ -273,9 +273,9 @@ impl KeeperMetrics {
273273 } ;
274274 let _ = self . accrued_pyth_fees . get_or_create ( & chain_id_label) ;
275275 let _ = self . block_timestamp_lag . get_or_create ( & chain_id_label) ;
276- let _ = self . block_timestamp . get_or_create ( & chain_id_label) ;
276+ let _ = self . latest_block_timestamp . get_or_create ( & chain_id_label) ;
277277 let _ = self . process_event_timestamp . get_or_create ( & chain_id_label) ;
278- let _ = self . block_number . get_or_create ( & chain_id_label) ;
278+ let _ = self . latest_block_number . get_or_create ( & chain_id_label) ;
279279 let _ = self
280280 . process_event_block_number
281281 . get_or_create ( & chain_id_label) ;
0 commit comments