pub struct ApplicationMetrics {
pub timestamp: u64,
pub trades_processed: u64,
pub orderbooks_processed: u64,
pub files_written: u64,
pub bytes_written: u64,
pub compression_ratio: f64,
pub active_connections: u32,
pub error_count: u64,
pub latency_p50: f64,
pub latency_p95: f64,
pub latency_p99: f64,
}Expand description
Application metrics structure
Fields§
§timestamp: u64Timestamp in nanoseconds
trades_processed: u64Number of trades processed
orderbooks_processed: u64Number of order books processed
files_written: u64Number of files written
bytes_written: u64Total bytes written
compression_ratio: f64Compression ratio
active_connections: u32Number of active connections
error_count: u64Number of errors
latency_p50: f6450th percentile latency
latency_p95: f6495th percentile latency
latency_p99: f6499th percentile latency
Trait Implementations§
Source§impl Clone for ApplicationMetrics
impl Clone for ApplicationMetrics
Source§fn clone(&self) -> ApplicationMetrics
fn clone(&self) -> ApplicationMetrics
Returns a duplicate of the value. Read more
1.0.0 · Source§const fn clone_from(&mut self, source: &Self)
const fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for ApplicationMetrics
impl Debug for ApplicationMetrics
Source§impl<'de> Deserialize<'de> for ApplicationMetrics
impl<'de> Deserialize<'de> for ApplicationMetrics
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
Auto Trait Implementations§
impl Freeze for ApplicationMetrics
impl RefUnwindSafe for ApplicationMetrics
impl Send for ApplicationMetrics
impl Sync for ApplicationMetrics
impl Unpin for ApplicationMetrics
impl UnwindSafe for ApplicationMetrics
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