pub enum Metric {
RecordsPerSecond,
LatencyMsP50,
LatencyMsP95,
LatencyMsP99,
CpuMicrosPerRecord,
PeakRssMib,
}Expand description
A quantity every completed trial reports.
Variants§
RecordsPerSecond
Acknowledged and consumed records per second, end to end.
LatencyMsP50
Median end-to-end latency in milliseconds.
LatencyMsP95
95th percentile end-to-end latency in milliseconds.
LatencyMsP99
99th percentile end-to-end latency in milliseconds.
CpuMicrosPerRecord
Broker CPU, summed over every broker, per acknowledged record.
PeakRssMib
Peak resident set size, summed over every broker, in MiB.
Implementations§
Trait Implementations§
impl Copy for Metric
Source§impl<'de> Deserialize<'de> for Metric
impl<'de> Deserialize<'de> for Metric
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
impl Eq for Metric
Source§impl Ord for Metric
impl Ord for Metric
1.21.0 (const: unstable) · Source§fn max(self, other: Self) -> Selfwhere
Self: Sized,
fn max(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the maximum of two values. Read more
Source§impl PartialOrd for Metric
impl PartialOrd for Metric
impl StructuralPartialEq for Metric
Auto Trait Implementations§
impl Freeze for Metric
impl RefUnwindSafe for Metric
impl Send for Metric
impl Sync for Metric
impl Unpin for Metric
impl UnsafeUnpin for Metric
impl UnwindSafe for Metric
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