refactor: remove legacy headermetrics describe (#943)

Co-authored-by: lambdaclass-user <github@lambdaclass.com>
This commit is contained in:
Mariano A. Nicolini
2023-01-20 12:35:57 -03:00
committed by GitHub
parent ac9f26fcab
commit ab654dd402
2 changed files with 0 additions and 3 deletions

View File

@ -117,7 +117,6 @@ impl Command {
if let Some(listen_addr) = self.metrics {
info!(target: "reth::cli", addr = %listen_addr, "Starting metrics endpoint");
prometheus_exporter::initialize(listen_addr)?;
HeaderMetrics::describe();
}
let genesis = init_genesis(db.clone(), self.chain.genesis().clone())?;

View File

@ -14,7 +14,6 @@ use reth_downloaders::bodies::concurrent::ConcurrentDownloader;
use reth_net_nat::NatResolver;
use reth_primitives::ChainSpec;
use reth_stages::{
metrics::HeaderMetrics,
stages::{bodies::BodyStage, execution::ExecutionStage, sender_recovery::SenderRecoveryStage},
ExecInput, Stage, StageId, Transaction, UnwindInput,
};
@ -108,7 +107,6 @@ impl Command {
if let Some(listen_addr) = self.metrics {
info!(target: "reth::cli", "Starting metrics endpoint at {}", listen_addr);
prometheus_exporter::initialize(listen_addr)?;
HeaderMetrics::describe();
}
let config: Config = confy::load_path(&self.config).unwrap_or_default();