pub struct AgentStats {Show 25 fields
pub session_duration_ns: u64,
pub lookups: u64,
pub hits: u64,
pub stores: u64,
pub stored_bytes: u64,
pub verifications: u64,
pub divergences: u64,
pub downloaded_bytes: u64,
pub uploaded_bytes: u64,
pub prefetched_actions: u64,
pub bypasses: BTreeMap<String, u64>,
pub remote_manifest_lookups: u64,
pub remote_manifest_lookup_duration_ns: u64,
pub remote_action_lookups: u64,
pub remote_action_lookup_duration_ns: u64,
pub remote_blob_requests: u64,
pub remote_blob_pack_requests: u64,
pub remote_blob_pack_blobs: u64,
pub remote_blob_transfer_duration_ns: u64,
pub local_cas_write_duration_ns: u64,
pub prefetch_runs: u64,
pub prefetch_duration_ns: u64,
pub materialization_duration_ns: u64,
pub restored_output_files: u64,
pub restored_output_bytes: u64,
}Expand description
Aggregate cache activity for one task session.
Fields§
§session_duration_ns: u64End-to-end lifetime of the task-scoped cache session.
lookups: u64Number of action-result lookups.
hits: u64Number of lookups that found a valid local action result.
stores: u64Number of newly stored content-addressed objects.
stored_bytes: u64Total size of newly stored objects.
verifications: u64Number of cache hits compiled again for qualification.
divergences: u64Number of qualification builds that diverged from the cached result.
downloaded_bytes: u64CAS payload bytes downloaded from the remote cache.
uploaded_bytes: u64CAS payload bytes uploaded to the remote cache.
prefetched_actions: u64Complete actions staged before an adapter requested them.
bypasses: BTreeMap<String, u64>Compilations that were not cacheable, counted by reason.
remote_manifest_lookups: u64Number of task manifest requests made to the remote cache.
remote_manifest_lookup_duration_ns: u64Cumulative time spent requesting remote task manifests.
remote_action_lookups: u64Number of action-result requests made to the remote cache.
remote_action_lookup_duration_ns: u64Cumulative time spent requesting remote action results.
remote_blob_requests: u64Number of blob requests made to the remote cache.
remote_blob_pack_requests: u64Number of packed blob requests made to the remote cache.
remote_blob_pack_blobs: u64Number of verified blobs received through packed responses.
remote_blob_transfer_duration_ns: u64Cumulative time spent downloading and verifying remote blobs.
local_cas_write_duration_ns: u64Cumulative time spent ingesting downloaded blobs into the local CAS.
prefetch_runs: u64Number of speculative prefetch runs started for task manifests.
prefetch_duration_ns: u64Cumulative wall time of speculative task-manifest prefetch runs.
materialization_duration_ns: u64Cumulative time spent staging or materializing and validating cached outputs.
restored_output_files: u64Number of compiler output files restored from action hits.
restored_output_bytes: u64Declared size of compiler output files restored from action hits.
Trait Implementations§
Source§impl Clone for AgentStats
impl Clone for AgentStats
Source§fn clone(&self) -> AgentStats
fn clone(&self) -> AgentStats
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read more