pub struct MonitordStats {
pub networkd: NetworkdState,
pub pid1: Option<Pid1Stats>,
pub system_state: SystemdSystemState,
pub units: SystemdUnitStats,
pub version: SystemdVersion,
pub dbus_stats: Option<DBusStats>,
pub machines: HashMap<String, MachineStats>,
pub boot_blame: Option<BootBlameStats>,
pub verify_stats: Option<VerifyStats>,
}Expand description
Root struct containing all enabled monitord metrics for the host system and containers
Fields§
§networkd: NetworkdStatesystemd-networkd interface states and managed interface count
pid1: Option<Pid1Stats>PID 1 (systemd) process stats from procfs: CPU, memory, FDs, tasks
system_state: SystemdSystemStateOverall systemd manager state (e.g. running, degraded, initializing)
units: SystemdUnitStatsAggregated systemd unit counts by type/state and per-service/timer detailed metrics
version: SystemdVersionInstalled systemd version (major.minor.revision.os)
dbus_stats: Option<DBusStats>D-Bus daemon/broker statistics (connections, bus names, match rules, per-peer accounting)
machines: HashMap<String, MachineStats>Per-container stats keyed by machine name, collected via systemd-machined
boot_blame: Option<BootBlameStats>Boot blame statistics: slowest units at boot with activation times in seconds
verify_stats: Option<VerifyStats>Unit verification error statistics
Trait Implementations§
Source§impl Debug for MonitordStats
impl Debug for MonitordStats
Source§impl Default for MonitordStats
impl Default for MonitordStats
Source§fn default() -> MonitordStats
fn default() -> MonitordStats
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for MonitordStats
impl<'de> Deserialize<'de> for MonitordStats
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Source§impl PartialEq for MonitordStats
impl PartialEq for MonitordStats
Source§impl Serialize for MonitordStats
impl Serialize for MonitordStats
impl StructuralPartialEq for MonitordStats
Auto Trait Implementations§
impl Freeze for MonitordStats
impl RefUnwindSafe for MonitordStats
impl Send for MonitordStats
impl Sync for MonitordStats
impl Unpin for MonitordStats
impl UnwindSafe for MonitordStats
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
§impl<T> Instrument for T
impl<T> Instrument for T
§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
§impl<T> NoneValue for Twhere
T: Default,
impl<T> NoneValue for Twhere
T: Default,
type NoneType = T
§fn null_value() -> T
fn null_value() -> T
The none-equivalent value.