Expand description
Unified health registry for service readiness and liveness.
Provides a global singleton HealthRegistry that modules register
into at construction. The /readyz endpoint (or any health check)
queries the registry to determine overall service health.
§Usage
use hyperi_rustlib::health::{HealthRegistry, HealthStatus};
// Register a component health check at construction
HealthRegistry::register("kafka_consumer", || HealthStatus::Healthy);
// Query overall health
assert!(HealthRegistry::is_ready());Re-exports§
pub use registry::HealthRegistry;pub use registry::HealthStatus;
Modules§
- registry
- Global health registry for unified service health state.