pub struct ShipStats {
pub sent: AtomicU64,
pub dropped_queue_full: AtomicU64,
pub dropped_send_failed: AtomicU64,
pub batches_sent: AtomicU64,
pub batches_failed: AtomicU64,
}Expand description
Counters for the shipper itself.
A log pipeline that silently drops is worse than no pipeline: the gap is invisible in the destination, and the absence of records reads as an absence of traffic. These are exported so the drop is a number someone can alert on.
Fields§
§sent: AtomicU64§dropped_queue_full: AtomicU64Records the request path could not hand off because the queue was full.
dropped_send_failed: AtomicU64Records in batches the collector refused after the retry.
batches_sent: AtomicU64§batches_failed: AtomicU64Implementations§
Trait Implementations§
Auto Trait Implementations§
impl !Freeze for ShipStats
impl RefUnwindSafe for ShipStats
impl Send for ShipStats
impl Sync for ShipStats
impl Unpin for ShipStats
impl UnsafeUnpin for ShipStats
impl UnwindSafe for ShipStats
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