pub struct MetricsSnapshot {
pub messages_sent: u64,
pub messages_received: u64,
pub messages_dropped: u64,
pub errors: u64,
pub dlq_sent: u64,
pub audit_dropped: u64,
}Expand description
Immutable snapshot of pipeline metrics
Fields§
§messages_sent: u64Total messages sent by sources
messages_received: u64Total messages received by sinks
messages_dropped: u64Total messages dropped due to buffer overflow
errors: u64Total processing errors
dlq_sent: u64Total messages sent to DLQ
audit_dropped: u64Total audit records dropped due to channel full
Trait Implementations§
Source§impl Clone for MetricsSnapshot
impl Clone for MetricsSnapshot
Source§fn clone(&self) -> MetricsSnapshot
fn clone(&self) -> MetricsSnapshot
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 MetricsSnapshot
impl Debug for MetricsSnapshot
Auto Trait Implementations§
impl Freeze for MetricsSnapshot
impl RefUnwindSafe for MetricsSnapshot
impl Send for MetricsSnapshot
impl Sync for MetricsSnapshot
impl Unpin for MetricsSnapshot
impl UnwindSafe for MetricsSnapshot
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