Anchor pre-PR: Dependency cleanup (#6769)

* remove ensure_dir_exists (2 deps saved)

* group UNHANDLED_ERRORs into a generic (2 deps saved)

* Introduce separate `health_metrics` crate

* separate health_metrics crate

* remove metrics from warp_utils

* move ProcessHealth::observe and SystemHealth::observe to health_metrics

* fix errors

* nitpick `Cargo.toml`s

---------

Co-authored-by: Daniel Knopik <daniel@dknopik.de>

---------

Co-authored-by: ThreeHrSleep <151536303+ThreeHrSleep@users.noreply.github.com>
This commit is contained in:
Daniel Knopik
2025-01-09 14:06:14 +01:00
committed by GitHub
parent 64eb84800a
commit 997991f551
44 changed files with 304 additions and 318 deletions

View File

@@ -33,6 +33,7 @@ use eth2::lighthouse_vc::{
PublicKeyBytes, SetGraffitiRequest,
},
};
use health_metrics::observe::Observe;
use lighthouse_version::version_with_platform;
use logging::SSELoggingComponents;
use parking_lot::RwLock;