pub struct LiveDiagnostics { /* private fields */ }Expand description
Observable counters for the lazy shared durable tailer.
Cloning this handle does not keep the router or tailer alive.
Implementations§
Source§impl LiveDiagnostics
impl LiveDiagnostics
Sourcepub fn tailer_starts(&self) -> u64
pub fn tailer_starts(&self) -> u64
Number of shared tailer tasks started. It is at most one per router.
Sourcepub fn storage_polls(&self) -> u64
pub fn storage_polls(&self) -> u64
Number of durable-storage polls performed by the shared tailer.
Sourcepub fn tailer_active(&self) -> bool
pub fn tailer_active(&self) -> bool
Whether the shared tailer task is currently alive.
Sourcepub fn subscribers(&self) -> u64
pub fn subscribers(&self) -> u64
Number of live SSE client tasks currently attached to this router.
Sourcepub fn completed_catchups(&self) -> u64
pub fn completed_catchups(&self) -> u64
Number of clients that reached the shared stream after history catch-up.
Sourcepub fn catchup_storage_reads(&self) -> u64
pub fn catchup_storage_reads(&self) -> u64
Number of bounded history-page reads performed for SSE catch-up.
Sourcepub fn published_events(&self) -> u64
pub fn published_events(&self) -> u64
Number of durable events published once into the shared fanout.
Sourcepub fn tail_directory_scans(&self) -> u64
pub fn tail_directory_scans(&self) -> u64
Directory scans performed by the stateful shared tail reader.
Sourcepub fn tail_reinitializations(&self) -> u64
pub fn tail_reinitializations(&self) -> u64
Tail-reader reinitializations after a manifest lifecycle change.
Sourcepub fn tail_frames_decoded(&self) -> u64
pub fn tail_frames_decoded(&self) -> u64
Durable frames decoded by the shared tail reader.
Trait Implementations§
Auto Trait Implementations§
impl Freeze for LiveDiagnostics
impl RefUnwindSafe for LiveDiagnostics
impl Send for LiveDiagnostics
impl Sync for LiveDiagnostics
impl Unpin for LiveDiagnostics
impl UnsafeUnpin for LiveDiagnostics
impl UnwindSafe for LiveDiagnostics
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