Struct Sample Summary
Generated from cargo doc --no-deps -p nemo-fabric-core.
pub struct SampleSummary {
pub target_interval_ms: u32,
pub max_samples: u32,
pub sample_count: u32,
pub dropped_samples: u64,
pub largest_gap_seconds: f64,
pub collection_seconds: f64,
pub truncated: bool,
pub diagnostics: Vec<String>,
pub samples: Option<ArtifactRef>,
pub cgroup_target_continuous: bool,
pub resident_memory_bytes: Option<GaugeSummary>,
pub process_count: Option<GaugeSummary>,
pub cpu_time_seconds_estimate: Measurement<f64>,
pub cpu_percent_one_core: Measurement<f64>,
}
Resource series retention, reductions, and collection quality. Resource samples remain in the referenced JSONL artifact for interval selection.
Fields
target_interval_ms: u32
Requested cadence; actual timing is retained in sample offsets.
max_samples: u32
Retention bound, including endpoints.
sample_count: u32
Retained samples, including unavailable readings and endpoints.
dropped_samples: u64
Samples skipped because collection fell behind or retention was full.
largest_gap_seconds: f64
Maximum observed interval between retained readings.
collection_seconds: f64
Total time spent collecting retained observations, including endpoints.
truncated: bool
Whether collection or retention prevented a complete series.
diagnostics: Vec<String>
Safe collection/persistence diagnostics. They never change agent status.
samples: Option<ArtifactRef>
Series artifact, absent when its file could not be created or fully written.
cgroup_target_continuous: bool
Whether retained readings kept one cgroup identity with nondecreasing counters and no gaps over twice cadence. This does not prove exclusivity.
resident_memory_bytes: Option<GaugeSummary>
Adapter-host tree resident-memory reductions.
process_count: Option<GaugeSummary>
Adapter-host tree live-process-count reductions.
cpu_time_seconds_estimate: Measurement<f64>
Estimated CPU counter delta, invalidated by observed resets, missing endpoints, target changes, or collection gaps larger than twice cadence.
cpu_percent_one_core: Measurement<f64>
100% means one fully occupied CPU core; this is not normalized by quota.
Trait Implementations
impl Clone for SampleSummary
impl Clone for SampleSummary
clone
fn clone(&self) -> SampleSummary
clone_from
fn clone_from(&mut self, source: &Self)
impl Debug for SampleSummary
impl Debug for SampleSummary
fmt
fn fmt(&self, f: &mut Formatter<'_>) -> Result
impl<'de> Deserialize<'de> for SampleSummary
impl<'de> Deserialize<'de> for SampleSummary
deserialize
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
impl JsonSchema for SampleSummary
impl JsonSchema for SampleSummary
schema_name
fn schema_name() -> Cow<'static, str>
schema_id
fn schema_id() -> Cow<'static, str>
json_schema
fn json_schema(generator: &mut SchemaGenerator) -> Schema
inline_schema
fn inline_schema() -> bool
impl PartialEq for SampleSummary
impl PartialEq for SampleSummary
eq
fn eq(&self, other: &SampleSummary) -> bool
ne
fn ne(&self, other: &Rhs) -> bool
impl Serialize for SampleSummary
impl Serialize for SampleSummary
serialize
fn serialize<__S>(&self, __serializer: __S) -> Result<__S::Ok, __S::Error>where
__S: Serializer,
impl StructuralPartialEq for SampleSummary
impl StructuralPartialEq for SampleSummary