pub struct FirehoseMetrics {
pub events_received: u64,
pub events_dropped: u64,
pub errors: u64,
pub reconnects: u64,
pub last_event_at: u64,
pub current_backoff_ms: u64,
pub last_seq: i64,
pub queue_depth: u64,
}Expand description
Snapshot of firehose consumer metrics.
Fields§
§events_received: u64Total events received from the WebSocket.
events_dropped: u64Events dropped due to backpressure.
errors: u64Errors encountered during processing.
reconnects: u64Number of reconnections.
last_event_at: u64Timestamp of last event (unix ms).
current_backoff_ms: u64Current backoff duration in ms.
last_seq: i64Last sequence number processed.
queue_depth: u64Current queue depth.
Trait Implementations§
Source§impl Clone for FirehoseMetrics
impl Clone for FirehoseMetrics
Source§fn clone(&self) -> FirehoseMetrics
fn clone(&self) -> FirehoseMetrics
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 FirehoseMetrics
impl Debug for FirehoseMetrics
Auto Trait Implementations§
impl Freeze for FirehoseMetrics
impl RefUnwindSafe for FirehoseMetrics
impl Send for FirehoseMetrics
impl Sync for FirehoseMetrics
impl Unpin for FirehoseMetrics
impl UnsafeUnpin for FirehoseMetrics
impl UnwindSafe for FirehoseMetrics
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