Crate network_utils crate

This commit is contained in:
Daniel Knopik
2025-07-18 16:47:50 +02:00
parent 1046dfbfe7
commit add4b70b0a
42 changed files with 186 additions and 149 deletions

View File

@@ -13,6 +13,7 @@ lighthouse_version = { workspace = true }
logging = { workspace = true }
malloc_utils = { workspace = true }
metrics = { workspace = true }
network_utils = { workspace = true }
serde = { workspace = true }
slot_clock = { workspace = true }
store = { workspace = true }

View File

@@ -37,7 +37,7 @@ pub fn gather_prometheus_metrics<T: BeaconChainTypes>(
store::scrape_for_metrics(db_path, freezer_db_path);
}
lighthouse_network::scrape_discovery_metrics();
network_utils::discovery_metrics::scrape_discovery_metrics();
health_metrics::metrics::scrape_health_metrics();