Skip to main content

KernelHealth

Trait KernelHealth 

Source
pub trait KernelHealth: Send + Sync {
    // Required methods
    fn is_healthy(&self) -> bool;
    fn health_info(&self) -> HealthInfo;
}
Expand description

Health check for monitoring

Minimal health interface - detailed metrics are in ObservabilityExtension

Required Methods§

Source

fn is_healthy(&self) -> bool

Check if the kernel is healthy

Source

fn health_info(&self) -> HealthInfo

Get basic health info (for plugins to consume)

Implementors§