pub struct Heartbeat {
pub heartbeat_seq: u64,
pub activity_seq: u64,
pub timestamp: DateTime<Utc>,
pub last_activity: DateTime<Utc>,
pub active_exec_sessions: u32,
pub active_fs_streams: u32,
pub active_tcp_streams: u32,
pub activity_counters: ActivityCounters,
}Expand description
Heartbeat data written to /.msb/heartbeat.json inside the guest.
Fields§
§heartbeat_seq: u64Monotonic sequence incremented for every heartbeat write.
activity_seq: u64Monotonic sequence incremented for every meaningful activity event.
timestamp: DateTime<Utc>Timestamp of this heartbeat.
last_activity: DateTime<Utc>Timestamp of the last meaningful activity event.
active_exec_sessions: u32Number of currently active exec sessions.
active_fs_streams: u32Number of currently active filesystem stream sessions.
active_tcp_streams: u32Number of currently active TCP stream sessions.
activity_counters: ActivityCountersCumulative activity counters.
Trait Implementations§
Source§impl<'de> Deserialize<'de> for Heartbeat
impl<'de> Deserialize<'de> for Heartbeat
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
Auto Trait Implementations§
impl Freeze for Heartbeat
impl RefUnwindSafe for Heartbeat
impl Send for Heartbeat
impl Sync for Heartbeat
impl Unpin for Heartbeat
impl UnsafeUnpin for Heartbeat
impl UnwindSafe for Heartbeat
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