pub struct MetricsOps;Expand description
MetricsOps Thin ops-layer facade over volatile metrics state.
Implementations§
Source§impl MetricsOps
impl MetricsOps
Sourcepub fn system_snapshot() -> SystemMetricsSnapshot
pub fn system_snapshot() -> SystemMetricsSnapshot
Export the current metrics snapshot.
Sourcepub fn http_snapshot() -> HttpMetricsSnapshot
pub fn http_snapshot() -> HttpMetricsSnapshot
Export the current HTTP metrics snapshot.
Sourcepub fn icc_snapshot() -> IccMetricsSnapshot
pub fn icc_snapshot() -> IccMetricsSnapshot
Export the current ICC metrics snapshot.
Sourcepub fn timer_snapshot() -> TimerMetricsSnapshot
pub fn timer_snapshot() -> TimerMetricsSnapshot
Export the current timer metrics snapshot.
Sourcepub fn report() -> MetricsReport
pub fn report() -> MetricsReport
Export combined metrics (system + ICC + HTTP + timers).
Auto Trait Implementations§
impl Freeze for MetricsOps
impl RefUnwindSafe for MetricsOps
impl Send for MetricsOps
impl Sync for MetricsOps
impl Unpin for MetricsOps
impl UnwindSafe for MetricsOps
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