[][src]Struct sccache::server::ServerStats

pub struct ServerStats {
    pub compile_requests: u64,
    pub requests_unsupported_compiler: u64,
    pub requests_not_compile: u64,
    pub requests_not_cacheable: u64,
    pub requests_executed: u64,
    pub cache_errors: PerLanguageCount,
    pub cache_hits: PerLanguageCount,
    pub cache_misses: PerLanguageCount,
    pub cache_timeouts: u64,
    pub cache_read_errors: u64,
    pub non_cacheable_compilations: u64,
    pub forced_recaches: u64,
    pub cache_write_errors: u64,
    pub cache_writes: u64,
    pub cache_write_duration: Duration,
    pub cache_read_hit_duration: Duration,
    pub cache_read_miss_duration: Duration,
    pub compile_fails: u64,
    pub not_cached: HashMap<String, usize>,
    pub dist_compiles: HashMap<String, usize>,
    pub dist_errors: u64,
}

Statistics about the server.

Fields

compile_requests: u64

The count of client compile requests.

requests_unsupported_compiler: u64

The count of client requests that used an unsupported compiler.

requests_not_compile: u64

The count of client requests that were not compilation.

requests_not_cacheable: u64

The count of client requests that were not cacheable.

requests_executed: u64

The count of client requests that were executed.

cache_errors: PerLanguageCount

The count of errors handling compile requests (per language).

cache_hits: PerLanguageCount

The count of cache hits for handled compile requests (per language).

cache_misses: PerLanguageCount

The count of cache misses for handled compile requests (per language).

cache_timeouts: u64

The count of cache misses because the cache took too long to respond.

cache_read_errors: u64

The count of errors reading cache entries.

non_cacheable_compilations: u64

The count of compilations which were successful but couldn't be cached.

forced_recaches: u64

The count of compilations which forcibly ignored the cache.

cache_write_errors: u64

The count of errors writing to cache.

cache_writes: u64

The number of successful cache writes.

cache_write_duration: Duration

The total time spent writing cache entries.

cache_read_hit_duration: Duration

The total time spent reading cache hits.

cache_read_miss_duration: Duration

The total time spent reading cache misses.

compile_fails: u64

The count of compilation failures.

not_cached: HashMap<String, usize>

Counts of reasons why compiles were not cached.

dist_compiles: HashMap<String, usize>

The count of compilations that were successfully distributed indexed by the server that ran those compilations.

dist_errors: u64

The count of compilations that were distributed but failed and had to be re-run locally

Trait Implementations

impl Clone for ServerStats[src]

impl Debug for ServerStats[src]

impl Default for ServerStats[src]

impl<'de> Deserialize<'de> for ServerStats[src]

impl Serialize for ServerStats[src]

Auto Trait Implementations

Blanket Implementations

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

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

impl<T> From<T> for T[src]

impl<T> Instrument for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T> Same<T> for T

type Output = T

Should always be Self

impl<T> ToOwned for T where
    T: Clone
[src]

type Owned = T

The resulting type after obtaining ownership.

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

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

The type returned in the event of a conversion error.

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

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

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