pub struct StatusSnapshot {Show 13 fields
pub phase: Phase,
pub uptime_seconds: u64,
pub indexes: BTreeMap<String, IndexState>,
pub changes_captured: u64,
pub changes_committed: u64,
pub changes_in_flight: u64,
pub documents_built: u64,
pub documents_quarantined: u64,
pub batches: u64,
pub last_flush_micros: u64,
pub slot_lag_bytes: Option<u64>,
pub errors: u64,
pub last_error: Option<String>,
}Expand description
A serializable snapshot of Status, returned as JSON by /status.
Fields§
§phase: Phase§uptime_seconds: u64§indexes: BTreeMap<String, IndexState>§changes_captured: u64§changes_committed: u64§changes_in_flight: u64§documents_built: u64§documents_quarantined: u64Documents the sink rejected and the engine skipped (failure policy
skip). A non-zero value means data is being dropped — alert on it.
batches: u64§last_flush_micros: u64§slot_lag_bytes: Option<u64>None until the source first reports lag (e.g. the slot doesn’t exist
yet), otherwise bytes the destination trails the source by.
errors: u64§last_error: Option<String>Trait Implementations§
Source§impl Clone for StatusSnapshot
impl Clone for StatusSnapshot
Source§fn clone(&self) -> StatusSnapshot
fn clone(&self) -> StatusSnapshot
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 StatusSnapshot
impl Debug for StatusSnapshot
Auto Trait Implementations§
impl Freeze for StatusSnapshot
impl RefUnwindSafe for StatusSnapshot
impl Send for StatusSnapshot
impl Sync for StatusSnapshot
impl Unpin for StatusSnapshot
impl UnsafeUnpin for StatusSnapshot
impl UnwindSafe for StatusSnapshot
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