pub struct ShardStats {
pub events_ingested: u64,
pub events_dropped: u64,
pub batches_dispatched: u64,
pub events_unrouted: u64,
}Expand description
Statistics for a single shard (snapshot).
Fields§
§events_ingested: u64Total events ingested.
events_dropped: u64Events dropped due to backpressure.
batches_dispatched: u64Batches dispatched to adapter.
events_unrouted: u64Events that arrived at ingest_raw_batch but had no resolvable
shard (e.g. the routing table was rebuilt mid-dispatch and the
hashed shard id is no longer present). These cannot be
attributed to a per-shard counter, so they are tracked at the
ShardManager level and surfaced through aggregated stats().
Trait Implementations§
Source§impl Clone for ShardStats
impl Clone for ShardStats
Source§fn clone(&self) -> ShardStats
fn clone(&self) -> ShardStats
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 moreSource§impl Debug for ShardStats
impl Debug for ShardStats
Source§impl Default for ShardStats
impl Default for ShardStats
Source§fn default() -> ShardStats
fn default() -> ShardStats
Returns the “default value” for a type. Read more
impl Copy for ShardStats
Auto Trait Implementations§
impl Freeze for ShardStats
impl RefUnwindSafe for ShardStats
impl Send for ShardStats
impl Sync for ShardStats
impl Unpin for ShardStats
impl UnsafeUnpin for ShardStats
impl UnwindSafe for ShardStats
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