pub struct SystemInfo {Show 17 fields
pub version: String,
pub uptime_seconds: u64,
pub memory_usage_mb: u64,
pub cpu_usage_percent: f64,
pub active_threads: usize,
pub total_routes: usize,
pub total_fixtures: usize,
pub peak_memory_usage_mb: u64,
pub peak_cpu_usage_percent: f64,
pub peak_error_rate: f64,
pub peaks_since: Option<DateTime<Utc>>,
pub tps: f64,
pub peak_tps: f64,
pub rps_200: f64,
pub peak_rps_200: f64,
pub cps: f64,
pub peak_cps: f64,
}Fields§
§version: String§uptime_seconds: u64§memory_usage_mb: u64§cpu_usage_percent: f64§active_threads: usize§total_routes: usize§total_fixtures: usize§peak_memory_usage_mb: u64§peak_cpu_usage_percent: f64§peak_error_rate: f64§peaks_since: Option<DateTime<Utc>>§tps: f64Successful (200..=399) responses per second, sampled over the last metrics interval. “API transactions/sec” in load-testing terms.
peak_tps: f64§rps_200: f64200-OK responses per second over the last metrics interval.
peak_rps_200: f64§cps: f64Accepted TCP connections per second (plain HTTP path; reads 0 for HTTPS-only setups).
peak_cps: f64Trait Implementations§
Source§impl Clone for SystemInfo
impl Clone for SystemInfo
Source§fn clone(&self) -> SystemInfo
fn clone(&self) -> SystemInfo
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for SystemInfo
impl Debug for SystemInfo
Source§impl<'de> Deserialize<'de> for SystemInfo
impl<'de> Deserialize<'de> for SystemInfo
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 SystemInfo
impl RefUnwindSafe for SystemInfo
impl Send for SystemInfo
impl Sync for SystemInfo
impl Unpin for SystemInfo
impl UnsafeUnpin for SystemInfo
impl UnwindSafe for SystemInfo
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<T> Instrument for T
impl<T> Instrument for T
Source§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
Source§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more