pub struct SyncPushMetrics {
pub push_attempt: u64,
pub push_success: u64,
pub push_failed: u64,
pub push_dropped: u64,
}Expand description
Basic sync push metrics for local observability.
Fields§
§push_attempt: u64Total transport attempts.
push_success: u64Total batches acknowledged and removed from the outbox.
push_failed: u64Total flushes that exhausted their retry policy.
push_dropped: u64Total batches rejected because the outbox was full.
Trait Implementations§
Source§impl Clone for SyncPushMetrics
impl Clone for SyncPushMetrics
Source§fn clone(&self) -> SyncPushMetrics
fn clone(&self) -> SyncPushMetrics
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreimpl Copy for SyncPushMetrics
Source§impl Debug for SyncPushMetrics
impl Debug for SyncPushMetrics
Source§impl Default for SyncPushMetrics
impl Default for SyncPushMetrics
Source§fn default() -> SyncPushMetrics
fn default() -> SyncPushMetrics
Returns the “default value” for a type. Read more
impl Eq for SyncPushMetrics
Source§impl PartialEq for SyncPushMetrics
impl PartialEq for SyncPushMetrics
impl StructuralPartialEq for SyncPushMetrics
Auto Trait Implementations§
impl Freeze for SyncPushMetrics
impl RefUnwindSafe for SyncPushMetrics
impl Send for SyncPushMetrics
impl Sync for SyncPushMetrics
impl Unpin for SyncPushMetrics
impl UnsafeUnpin for SyncPushMetrics
impl UnwindSafe for SyncPushMetrics
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