Metrics

Struct Metrics 

Source
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: u32

Number of cache misses

§cache_expired: u32

Number of cache expires

§cache_stale: u32

Number of cache stales

§cache_hit_local: u32

Number of cache local hits

§cache_hit: u32

Number of cache hits

§bytes_completed: u64

Number of bytes completed

§bytes_ingested: u64

Number of bytes ingested

§duplicates: u32

Number of duplicate submissions

§error: u32

Number of errors

§files_completed: u32

Number of completed files

§skipped: u32

Number of skipped files

§submissions_completed: u32

Number of completed submissions

§submissions_ingested: u32

Number of ingested submissions

§timed_out: u32

Number of timed_out submissions

§whitelisted: u32

Number of safelisted submissions

§retries: u32

Number of retried submissions

§cpu_seconds: CPUSeconds

Counter to track used cpu time

§busy_seconds: BusySeconds

Depricated

Trait Implementations§

Source§

impl Default for Metrics

Source§

fn default() -> Metrics

Returns the “default value” for a type. Read more
Source§

impl<'de> Deserialize<'de> for Metrics

Source§

fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>
where __D: Deserializer<'de>,

Deserialize this value from the given Serde deserializer. Read more
Source§

impl Serialize for Metrics

Source§

fn serialize<__S>(&self, __serializer: __S) -> Result<__S::Ok, __S::Error>
where __S: Serializer,

Serialize this value into the given Serde serializer. Read more

Auto Trait Implementations§

Blanket Implementations§

Source§

impl<T> Any for T
where T: 'static + ?Sized,

Source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
Source§

impl<T> Borrow<T> for T
where T: ?Sized,

Source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
Source§

impl<T> BorrowMut<T> for T
where T: ?Sized,

Source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
Source§

impl<T> From<T> for T

Source§

fn from(t: T) -> T

Returns the argument unchanged.

Source§

impl<T, U> Into<U> for T
where U: From<T>,

Source§

fn into(self) -> U

Calls U::from(self).

That is, this conversion is whatever the implementation of From<T> for U chooses to do.

Source§

impl<T> IntoEither for T

Source§

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 more
Source§

fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
where F: FnOnce(&Self) -> bool,

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
Source§

impl<T> Same for T

Source§

type Output = T

Should always be Self
Source§

impl<T, U> TryFrom<U> for T
where U: Into<T>,

Source§

type Error = Infallible

The type returned in the event of a conversion error.
Source§

fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

Performs the conversion.
Source§

impl<T, U> TryInto<U> for T
where U: TryFrom<T>,

Source§

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.
Source§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.
Source§

impl<V, T> VZip<V> for T
where V: MultiLane<T>,

Source§

fn vzip(self) -> V

Source§

impl<T> DeserializeOwned for T
where T: for<'de> Deserialize<'de>,

Source§

impl<T> ErasedDestructor for T
where T: 'static,