pub struct Stats {
pub last_cycle_ms: Option<f64>,
pub last_ok_ts: Option<i64>,
pub reads_per_cycle: usize,
pub tags_per_cycle: usize,
pub group_fallbacks: u64,
pub overruns: u64,
pub reconnects: u64,
pub reloads: u64,
}Expand description
Counters for /health and /stats.
Fields§
§last_cycle_ms: Option<f64>Duration of the last tick.
last_ok_ts: Option<i64>Time of the last good tick, ms since the epoch.
reads_per_cycle: usizeRead services sent in the last tick, after planning.
Tags read in the last tick.
group_fallbacks: u64Whole struct reads that failed, their members read one by one instead.
overruns: u64Ticks that took longer than the tick.
reconnects: u64Reconnect attempts.
reloads: u64Tag table reloads seen.
Trait Implementations§
Auto Trait Implementations§
impl Freeze for Stats
impl RefUnwindSafe for Stats
impl Send for Stats
impl Sync for Stats
impl Unpin for Stats
impl UnsafeUnpin for Stats
impl UnwindSafe for Stats
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