pub struct MetricsSnapshot {
pub connections_total: u64,
pub connections_active: u64,
pub requests_total: u64,
pub responses_total: u64,
pub messages_produced_total: u64,
pub messages_consumed_total: u64,
pub topics_created_total: u64,
pub topics_deleted_total: u64,
pub consumer_groups_total: u64,
pub partitions_total: u64,
pub avg_request_latency_micros: u64,
pub errors_total: u64,
}Expand description
Snapshot of metrics at a point in time
Fields§
§connections_total: u64§connections_active: u64§requests_total: u64§responses_total: u64§messages_produced_total: u64§messages_consumed_total: u64§topics_created_total: u64§topics_deleted_total: u64§consumer_groups_total: u64§partitions_total: u64§avg_request_latency_micros: u64§errors_total: u64Trait Implementations§
Source§impl Clone for MetricsSnapshot
impl Clone for MetricsSnapshot
Source§fn clone(&self) -> MetricsSnapshot
fn clone(&self) -> MetricsSnapshot
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreAuto Trait Implementations§
impl Freeze for MetricsSnapshot
impl RefUnwindSafe for MetricsSnapshot
impl Send for MetricsSnapshot
impl Sync for MetricsSnapshot
impl Unpin 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