pub struct MetricsSnapshot {Show 21 fields
pub state: JobState,
pub uptime_secs: u64,
pub events_received: u64,
pub bytes_received: u64,
pub txns_applied: u64,
pub txns_skipped: u64,
pub rows_applied: u64,
pub rows_copied: u64,
pub bytes_copied: u64,
pub feedback_sent: u64,
pub reconnects: u64,
pub last_received_lsn: Lsn,
pub server_wal_end: Lsn,
pub committed_lsn: Lsn,
pub acked_lsn: Lsn,
pub apply_lag_bytes: u64,
pub inflight_items: u64,
pub inflight_bytes: u64,
pub rss_bytes: Option<u64>,
pub last_apply_unix_micros: Option<u64>,
pub connection: ConnectionState,
}Fields§
§state: JobState§uptime_secs: u64§events_received: u64§bytes_received: u64§txns_applied: u64§txns_skipped: u64§rows_applied: u64§rows_copied: u64§bytes_copied: u64§feedback_sent: u64§reconnects: u64§last_received_lsn: Lsn§server_wal_end: Lsn§committed_lsn: Lsn§acked_lsn: Lsn§apply_lag_bytes: u64server_wal_end - acked_lsn, bytes: WAL the server has produced that this job has
not yet durably covered (applied, or acknowledged as carrying nothing for it).
inflight_items: u64§inflight_bytes: u64§rss_bytes: Option<u64>§last_apply_unix_micros: Option<u64>§connection: ConnectionStateTrait Implementations§
Source§impl Clone for MetricsSnapshot
impl Clone for MetricsSnapshot
Source§impl Debug for MetricsSnapshot
impl Debug for MetricsSnapshot
Auto Trait Implementations§
impl Freeze for MetricsSnapshot
impl RefUnwindSafe for MetricsSnapshot
impl Send for MetricsSnapshot
impl Sync for MetricsSnapshot
impl Unpin for MetricsSnapshot
impl UnsafeUnpin for MetricsSnapshot
impl UnwindSafe for MetricsSnapshot
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