Struct monitor_common::MonitorRecord
source · [−]pub struct MonitorRecord {
pub cpu_per: Decimal,
pub mem_per: Decimal,
pub recv_rate: Decimal,
pub sent_rate: Decimal,
pub tcp_total: usize,
pub io_reads: u64,
pub io_writes: u64,
pub node_ip: String,
pub timestamp: u64,
pub group_name: String,
}
Expand description
系统监控指标
Fields
cpu_per: Decimal
mem_per: Decimal
recv_rate: Decimal
sent_rate: Decimal
tcp_total: usize
io_reads: u64
io_writes: u64
node_ip: String
timestamp: u64
group_name: String
Trait Implementations
sourceimpl Debug for MonitorRecord
impl Debug for MonitorRecord
sourceimpl<'de> Deserialize<'de> for MonitorRecord
impl<'de> Deserialize<'de> for MonitorRecord
sourcefn 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
sourceimpl Serialize for MonitorRecord
impl Serialize for MonitorRecord
Auto Trait Implementations
impl RefUnwindSafe for MonitorRecord
impl Send for MonitorRecord
impl Sync for MonitorRecord
impl Unpin for MonitorRecord
impl UnwindSafe for MonitorRecord
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more