pub struct Metrics {Show 18 fields
pub cache_miss: u32,
pub cache_expired: u32,
pub cache_stale: u32,
pub cache_hit_local: u32,
pub cache_hit: u32,
pub bytes_completed: u64,
pub bytes_ingested: u64,
pub duplicates: u32,
pub error: u32,
pub files_completed: u32,
pub skipped: u32,
pub submissions_completed: u32,
pub submissions_ingested: u32,
pub timed_out: u32,
pub whitelisted: u32,
pub retries: u32,
pub cpu_seconds: CPUSeconds,
pub busy_seconds: BusySeconds,
}Expand description
Metrics
Fields§
§cache_miss: u32Number of cache misses
cache_expired: u32Number of cache expires
cache_stale: u32Number of cache stales
cache_hit_local: u32Number of cache local hits
cache_hit: u32Number of cache hits
bytes_completed: u64Number of bytes completed
bytes_ingested: u64Number of bytes ingested
duplicates: u32Number of duplicate submissions
error: u32Number of errors
files_completed: u32Number of completed files
skipped: u32Number of skipped files
submissions_completed: u32Number of completed submissions
submissions_ingested: u32Number of ingested submissions
timed_out: u32Number of timed_out submissions
whitelisted: u32Number of safelisted submissions
retries: u32Number of retried submissions
cpu_seconds: CPUSecondsCounter to track used cpu time
busy_seconds: BusySecondsDepricated
Trait Implementations§
Source§impl<'de> Deserialize<'de> for Metrics
impl<'de> Deserialize<'de> for Metrics
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 Metrics
impl RefUnwindSafe for Metrics
impl Send for Metrics
impl Sync for Metrics
impl Unpin for Metrics
impl UnwindSafe for Metrics
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> 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