diff --git a/crates/stages/src/id.rs b/crates/stages/src/id.rs index 3c0ec34841..9e47cb46aa 100644 --- a/crates/stages/src/id.rs +++ b/crates/stages/src/id.rs @@ -1,4 +1,4 @@ -use metrics::counter; +use metrics::absolute_counter; use reth_db::{ tables::SyncStage, transaction::{DbTx, DbTxMut}, @@ -31,7 +31,7 @@ impl StageId { tx: &impl DbTxMut<'db>, block: BlockNumber, ) -> Result<(), DbError> { - counter!("stage.progress", block, "stage" => self.0); + absolute_counter!("stage.progress", block, "stage" => self.0); tx.put::(self.0.as_bytes().to_vec(), block) } }