#[repr(C)]pub struct HddsMetricsSnapshot {
pub timestamp_ns: u64,
pub messages_sent: u64,
pub messages_received: u64,
pub messages_dropped: u64,
pub bytes_sent: u64,
pub latency_p50_ns: u64,
pub latency_p99_ns: u64,
pub latency_p999_ns: u64,
pub merge_full_count: u64,
pub would_block_count: u64,
}Expand description
Telemetry metrics snapshot (C-compatible)
Fields§
§timestamp_ns: u64Timestamp in nanoseconds since epoch
messages_sent: u64Total messages sent
messages_received: u64Total messages received
messages_dropped: u64Total messages dropped
bytes_sent: u64Total bytes sent
latency_p50_ns: u64Latency p50 in nanoseconds
latency_p99_ns: u64Latency p99 in nanoseconds
latency_p999_ns: u64Latency p999 in nanoseconds
merge_full_count: u64Merge full count (backpressure events)
would_block_count: u64Would-block count (send buffer full)
Trait Implementations§
Source§impl Clone for HddsMetricsSnapshot
impl Clone for HddsMetricsSnapshot
Source§fn clone(&self) -> HddsMetricsSnapshot
fn clone(&self) -> HddsMetricsSnapshot
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for HddsMetricsSnapshot
impl Debug for HddsMetricsSnapshot
Source§impl Default for HddsMetricsSnapshot
impl Default for HddsMetricsSnapshot
Source§fn default() -> HddsMetricsSnapshot
fn default() -> HddsMetricsSnapshot
Returns the “default value” for a type. Read more
impl Copy for HddsMetricsSnapshot
Auto Trait Implementations§
impl Freeze for HddsMetricsSnapshot
impl RefUnwindSafe for HddsMetricsSnapshot
impl Send for HddsMetricsSnapshot
impl Sync for HddsMetricsSnapshot
impl Unpin for HddsMetricsSnapshot
impl UnsafeUnpin for HddsMetricsSnapshot
impl UnwindSafe for HddsMetricsSnapshot
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