pub struct MetricsSnapshot {Show 16 fields
pub cache_hits: u64,
pub cache_misses: u64,
pub cache_hit_rate: f64,
pub query_latency_p50: u64,
pub query_latency_p95: u64,
pub query_latency_p99: u64,
pub fingerprint_time_p50: u64,
pub fingerprint_time_p95: u64,
pub parse_time_p50: u64,
pub parse_time_p95: u64,
pub files_processed: u64,
pub symbols_extracted: u64,
pub throughput_files_per_sec: f64,
pub errors_by_type: RapidMap<String, u64>,
pub error_rate: f64,
pub uptime: Duration,
}Expand description
Snapshot of metrics at a point in time
Fields§
§cache_hits: u64§cache_misses: u64§cache_hit_rate: f64§query_latency_p50: u64§query_latency_p95: u64§query_latency_p99: u64§fingerprint_time_p50: u64§fingerprint_time_p95: u64§parse_time_p50: u64§parse_time_p95: u64§files_processed: u64§symbols_extracted: u64§throughput_files_per_sec: f64§errors_by_type: RapidMap<String, u64>§error_rate: f64§uptime: DurationImplementations§
Trait 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 UnsafeUnpin 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
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