Struct sccache::server::ServerStats
source · [−]pub struct ServerStats {Show 21 fields
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,
}
Expand description
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
sourceimpl Clone for ServerStats
impl Clone for ServerStats
sourcefn clone(&self) -> ServerStats
fn clone(&self) -> ServerStats
Returns a copy of the value. Read more
1.0.0 · sourcefn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from source
. Read more
sourceimpl Debug for ServerStats
impl Debug for ServerStats
sourceimpl Default for ServerStats
impl Default for ServerStats
sourcefn default() -> ServerStats
fn default() -> ServerStats
Returns the “default value” for a type. Read more
sourceimpl<'de> Deserialize<'de> for ServerStats
impl<'de> Deserialize<'de> for ServerStats
sourcefn 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
sourceimpl Serialize for ServerStats
impl Serialize for ServerStats
Auto Trait Implementations
impl RefUnwindSafe for ServerStats
impl Send for ServerStats
impl Sync for ServerStats
impl Unpin for ServerStats
impl UnwindSafe for ServerStats
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
sourceimpl<T> Instrument for T
impl<T> Instrument for T
sourcefn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
sourcefn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
sourceimpl<T> ToOwned for T where
T: Clone,
impl<T> ToOwned for T where
T: Clone,
type Owned = T
type Owned = T
The resulting type after obtaining ownership.
sourcefn clone_into(&self, target: &mut T)
fn clone_into(&self, target: &mut T)
toowned_clone_into
)Uses borrowed data to replace owned data, usually by cloning. Read more
impl<V, T> VZip<V> for T where
V: MultiLane<T>,
impl<V, T> VZip<V> for T where
V: MultiLane<T>,
fn vzip(self) -> V
sourceimpl<T> WithSubscriber for T
impl<T> WithSubscriber for T
sourcefn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self> where
S: Into<Dispatch>,
fn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self> where
S: Into<Dispatch>,
Attaches the provided Subscriber
to this type, returning a
WithDispatch
wrapper. Read more
sourcefn with_current_subscriber(self) -> WithDispatch<Self>
fn with_current_subscriber(self) -> WithDispatch<Self>
Attaches the current default Subscriber
to this type, returning a
WithDispatch
wrapper. Read more